Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_UNSIGNED_INT
@@ -1650,6 +1650,11 @@ RING_FUNC(ring_get_gl_int)
RING_API_RETNUMBER(GL_INT);
}
+RING_FUNC(ring_get_gl_unsigned_int)
+{
+ RING_API_RETNUMBER(GL_UNSIGNED_INT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1980,4 +1985,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_short",ring_get_gl_short);
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);
}
