Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LUMINANCE12
@@ -2300,6 +2300,11 @@ RING_FUNC(ring_get_gl_luminance8)
RING_API_RETNUMBER(GL_LUMINANCE8);
}
+RING_FUNC(ring_get_gl_luminance12)
+{
+ RING_API_RETNUMBER(GL_LUMINANCE12);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2760,4 +2765,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_alpha16",ring_get_gl_alpha16);
ring_vm_funcregister("get_gl_luminance4",ring_get_gl_luminance4);
ring_vm_funcregister("get_gl_luminance8",ring_get_gl_luminance8);
+ ring_vm_funcregister("get_gl_luminance12",ring_get_gl_luminance12);
}
