Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_RGBA4
@@ -2400,6 +2400,11 @@ RING_FUNC(ring_get_gl_rgba2)
RING_API_RETNUMBER(GL_RGBA2);
}
+RING_FUNC(ring_get_gl_rgba4)
+{
+ RING_API_RETNUMBER(GL_RGBA4);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2880,4 +2885,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_rgb12",ring_get_gl_rgb12);
ring_vm_funcregister("get_gl_rgb16",ring_get_gl_rgb16);
ring_vm_funcregister("get_gl_rgba2",ring_get_gl_rgba2);
+ ring_vm_funcregister("get_gl_rgba4",ring_get_gl_rgba4);
}
