Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_COLOR_INDEX
@@ -1810,6 +1810,11 @@ RING_FUNC(ring_get_gl_stencil)
RING_API_RETNUMBER(GL_STENCIL);
}
+RING_FUNC(ring_get_gl_color_index)
+{
+ RING_API_RETNUMBER(GL_COLOR_INDEX);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2172,4 +2177,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_color",ring_get_gl_color);
ring_vm_funcregister("get_gl_depth",ring_get_gl_depth);
ring_vm_funcregister("get_gl_stencil",ring_get_gl_stencil);
+ ring_vm_funcregister("get_gl_color_index",ring_get_gl_color_index);
}
