Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_COMPILE_AND_EXECUTE
@@ -1620,6 +1620,11 @@ RING_FUNC(ring_get_gl_compile)
RING_API_RETNUMBER(GL_COMPILE);
}
+RING_FUNC(ring_get_gl_compile_and_execute)
+{
+ RING_API_RETNUMBER(GL_COMPILE_AND_EXECUTE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1944,4 +1949,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_linear_attenuation",ring_get_gl_linear_attenuation);
ring_vm_funcregister("get_gl_quadratic_attenuation",ring_get_gl_quadratic_attenuation);
ring_vm_funcregister("get_gl_compile",ring_get_gl_compile);
+ ring_vm_funcregister("get_gl_compile_and_execute",ring_get_gl_compile_and_execute);
}
