Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE
@@ -1790,6 +1790,11 @@ RING_FUNC(ring_get_gl_projection)
RING_API_RETNUMBER(GL_PROJECTION);
}
+RING_FUNC(ring_get_gl_texture)
+{
+ RING_API_RETNUMBER(GL_TEXTURE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2148,4 +2153,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_color_indexes",ring_get_gl_color_indexes);
ring_vm_funcregister("get_gl_modelview",ring_get_gl_modelview);
ring_vm_funcregister("get_gl_projection",ring_get_gl_projection);
+ ring_vm_funcregister("get_gl_texture",ring_get_gl_texture);
}
