Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_RGB4
@@ -2365,6 +2365,11 @@ RING_FUNC(ring_get_gl_intensity16)
RING_API_RETNUMBER(GL_INTENSITY16);
}
+RING_FUNC(ring_get_gl_rgb4)
+{
+ RING_API_RETNUMBER(GL_RGB4);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2838,4 +2843,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_intensity8",ring_get_gl_intensity8);
ring_vm_funcregister("get_gl_intensity12",ring_get_gl_intensity12);
ring_vm_funcregister("get_gl_intensity16",ring_get_gl_intensity16);
+ ring_vm_funcregister("get_gl_rgb4",ring_get_gl_rgb4);
}
