Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_MODELVIEW
@@ -1780,6 +1780,11 @@ RING_FUNC(ring_get_gl_color_indexes)
RING_API_RETNUMBER(GL_COLOR_INDEXES);
}
+RING_FUNC(ring_get_gl_modelview)
+{
+ RING_API_RETNUMBER(GL_MODELVIEW);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2136,4 +2141,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_shininess",ring_get_gl_shininess);
ring_vm_funcregister("get_gl_ambient_and_diffuse",ring_get_gl_ambient_and_diffuse);
ring_vm_funcregister("get_gl_color_indexes",ring_get_gl_color_indexes);
+ ring_vm_funcregister("get_gl_modelview",ring_get_gl_modelview);
}
