Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_CLEAR
@@ -1680,6 +1680,11 @@ RING_FUNC(ring_get_gl_double)
RING_API_RETNUMBER(GL_DOUBLE);
}
+RING_FUNC(ring_get_gl_clear)
+{
+ RING_API_RETNUMBER(GL_CLEAR);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2016,4 +2021,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_3_bytes",ring_get_gl_3_bytes);
ring_vm_funcregister("get_gl_4_bytes",ring_get_gl_4_bytes);
ring_vm_funcregister("get_gl_double",ring_get_gl_double);
+ ring_vm_funcregister("get_gl_clear",ring_get_gl_clear);
}
