Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_CULL_FACE
@@ -620,6 +620,11 @@ RING_FUNC(ring_get_gl_edge_flag)
RING_API_RETNUMBER(GL_EDGE_FLAG);
}
+RING_FUNC(ring_get_gl_cull_face)
+{
+ RING_API_RETNUMBER(GL_CULL_FACE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -744,4 +749,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_polygon_smooth",ring_get_gl_polygon_smooth);
ring_vm_funcregister("get_gl_polygon_stipple",ring_get_gl_polygon_stipple);
ring_vm_funcregister("get_gl_edge_flag",ring_get_gl_edge_flag);
+ ring_vm_funcregister("get_gl_cull_face",ring_get_gl_cull_face);
}
