Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_SHORT
@@ -1635,6 +1635,11 @@ RING_FUNC(ring_get_gl_unsigned_byte)
RING_API_RETNUMBER(GL_UNSIGNED_BYTE);
}
+RING_FUNC(ring_get_gl_short)
+{
+ RING_API_RETNUMBER(GL_SHORT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1962,4 +1967,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_compile_and_execute",ring_get_gl_compile_and_execute);
ring_vm_funcregister("get_gl_byte",ring_get_gl_byte);
ring_vm_funcregister("get_gl_unsigned_byte",ring_get_gl_unsigned_byte);
+ ring_vm_funcregister("get_gl_short",ring_get_gl_short);
}
