Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_FRONT_FACE
@@ -630,6 +630,11 @@ RING_FUNC(ring_get_gl_cull_face_mode)
RING_API_RETNUMBER(GL_CULL_FACE_MODE);
}
+RING_FUNC(ring_get_gl_front_face)
+{
+ RING_API_RETNUMBER(GL_FRONT_FACE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -756,4 +761,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_edge_flag",ring_get_gl_edge_flag);
ring_vm_funcregister("get_gl_cull_face",ring_get_gl_cull_face);
ring_vm_funcregister("get_gl_cull_face_mode",ring_get_gl_cull_face_mode);
+ ring_vm_funcregister("get_gl_front_face",ring_get_gl_front_face);
}
