Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_FLOAT
@@ -1655,6 +1655,11 @@ RING_FUNC(ring_get_gl_unsigned_int)
RING_API_RETNUMBER(GL_UNSIGNED_INT);
}
+RING_FUNC(ring_get_gl_float)
+{
+ RING_API_RETNUMBER(GL_FLOAT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1986,4 +1991,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_unsigned_short",ring_get_gl_unsigned_short);
ring_vm_funcregister("get_gl_int",ring_get_gl_int);
ring_vm_funcregister("get_gl_unsigned_int",ring_get_gl_unsigned_int);
+ ring_vm_funcregister("get_gl_float",ring_get_gl_float);
}
