Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LOAD
@@ -160,6 +160,11 @@ RING_FUNC(ring_get_gl_accum)
RING_API_RETNUMBER(GL_ACCUM);
}
+RING_FUNC(ring_get_gl_load)
+{
+ RING_API_RETNUMBER(GL_LOAD);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -192,4 +197,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_fog_bit",ring_get_gl_fog_bit);
ring_vm_funcregister("get_gl_depth_buffer_bit",ring_get_gl_depth_buffer_bit);
ring_vm_funcregister("get_gl_accum",ring_get_gl_accum);
+ ring_vm_funcregister("get_gl_load",ring_get_gl_load);
}
