Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_BYTE
@@ -1625,6 +1625,11 @@ RING_FUNC(ring_get_gl_compile_and_execute)
RING_API_RETNUMBER(GL_COMPILE_AND_EXECUTE);
}
+RING_FUNC(ring_get_gl_byte)
+{
+ RING_API_RETNUMBER(GL_BYTE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1950,4 +1955,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_quadratic_attenuation",ring_get_gl_quadratic_attenuation);
ring_vm_funcregister("get_gl_compile",ring_get_gl_compile);
ring_vm_funcregister("get_gl_compile_and_execute",ring_get_gl_compile_and_execute);
+ ring_vm_funcregister("get_gl_byte",ring_get_gl_byte);
}
