Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_3_BYTES
@@ -1665,6 +1665,11 @@ RING_FUNC(ring_get_gl_2_bytes)
RING_API_RETNUMBER(GL_2_BYTES);
}
+RING_FUNC(ring_get_gl_3_bytes)
+{
+ RING_API_RETNUMBER(GL_3_BYTES);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1998,4 +2003,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_unsigned_int",ring_get_gl_unsigned_int);
ring_vm_funcregister("get_gl_float",ring_get_gl_float);
ring_vm_funcregister("get_gl_2_bytes",ring_get_gl_2_bytes);
+ ring_vm_funcregister("get_gl_3_bytes",ring_get_gl_3_bytes);
}
