Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_DIFFUSE
@@ -1570,6 +1570,11 @@ RING_FUNC(ring_get_gl_ambient)
RING_API_RETNUMBER(GL_AMBIENT);
}
+RING_FUNC(ring_get_gl_diffuse)
+{
+ RING_API_RETNUMBER(GL_DIFFUSE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1884,4 +1889,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_fastest",ring_get_gl_fastest);
ring_vm_funcregister("get_gl_nicest",ring_get_gl_nicest);
ring_vm_funcregister("get_gl_ambient",ring_get_gl_ambient);
+ ring_vm_funcregister("get_gl_diffuse",ring_get_gl_diffuse);
}
