Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_RGB5
@@ -2370,6 +2370,11 @@ RING_FUNC(ring_get_gl_rgb4)
RING_API_RETNUMBER(GL_RGB4);
}
+RING_FUNC(ring_get_gl_rgb5)
+{
+ RING_API_RETNUMBER(GL_RGB5);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2844,4 +2849,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
+ ring_vm_funcregister("get_gl_rgb5",ring_get_gl_rgb5);
}
