Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE_COMPONENTS
@@ -30,10 +30,16 @@ RING_FUNC(ring_get_gl_none)
RING_API_RETNUMBER(GL_NONE);
}
+RING_FUNC(ring_get_gl_texture_components)
+{
+ RING_API_RETNUMBER(GL_TEXTURE_COMPONENTS);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
ring_vm_funcregister("get_gl_false",ring_get_gl_false);
ring_vm_funcregister("get_gl_logic_op",ring_get_gl_logic_op);
ring_vm_funcregister("get_gl_none",ring_get_gl_none);
+ ring_vm_funcregister("get_gl_texture_components",ring_get_gl_texture_components);
}
