Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_INTENSITY
@@ -2340,6 +2340,11 @@ RING_FUNC(ring_get_gl_luminance16_alpha16)
RING_API_RETNUMBER(GL_LUMINANCE16_ALPHA16);
}
+RING_FUNC(ring_get_gl_intensity)
+{
+ RING_API_RETNUMBER(GL_INTENSITY);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2808,4 +2813,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_luminance12_alpha4",ring_get_gl_luminance12_alpha4);
ring_vm_funcregister("get_gl_luminance12_alpha12",ring_get_gl_luminance12_alpha12);
ring_vm_funcregister("get_gl_luminance16_alpha16",ring_get_gl_luminance16_alpha16);
+ ring_vm_funcregister("get_gl_intensity",ring_get_gl_intensity);
}
