Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TRANSFORM_BIT
@@ -1525,6 +1525,11 @@ RING_FUNC(ring_get_gl_texture_width)
RING_API_RETNUMBER(GL_TEXTURE_WIDTH);
}
+RING_FUNC(ring_get_gl_transform_bit)
+{
+ RING_API_RETNUMBER(GL_TRANSFORM_BIT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1830,4 +1835,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_selection_buffer_pointer",ring_get_gl_selection_buffer_pointer);
ring_vm_funcregister("get_gl_selection_buffer_size",ring_get_gl_selection_buffer_size);
ring_vm_funcregister("get_gl_texture_width",ring_get_gl_texture_width);
+ ring_vm_funcregister("get_gl_transform_bit",ring_get_gl_transform_bit);
}
