Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_RGBA8
@@ -2410,6 +2410,11 @@ RING_FUNC(ring_get_gl_rgb5_a1)
RING_API_RETNUMBER(GL_RGB5_A1);
}
+RING_FUNC(ring_get_gl_rgba8)
+{
+ RING_API_RETNUMBER(GL_RGBA8);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2892,4 +2897,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_rgba2",ring_get_gl_rgba2);
ring_vm_funcregister("get_gl_rgba4",ring_get_gl_rgba4);
ring_vm_funcregister("get_gl_rgb5_a1",ring_get_gl_rgb5_a1);
+ ring_vm_funcregister("get_gl_rgba8",ring_get_gl_rgba8);
}
