Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_CURRENT_TEXTURE_COORDS
@@ -490,6 +490,11 @@ RING_FUNC(ring_get_gl_current_normal)
RING_API_RETNUMBER(GL_CURRENT_NORMAL);
}
+RING_FUNC(ring_get_gl_current_texture_coords)
+{
+ RING_API_RETNUMBER(GL_CURRENT_TEXTURE_COORDS);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -588,4 +593,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_current_color",ring_get_gl_current_color);
ring_vm_funcregister("get_gl_current_index",ring_get_gl_current_index);
ring_vm_funcregister("get_gl_current_normal",ring_get_gl_current_normal);
+ ring_vm_funcregister("get_gl_current_texture_coords",ring_get_gl_current_texture_coords);
}
