Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_INVALID_VALUE
@@ -345,6 +345,11 @@ RING_FUNC(ring_get_gl_invalid_enum)
RING_API_RETNUMBER(GL_INVALID_ENUM);
}
+RING_FUNC(ring_get_gl_invalid_value)
+{
+ RING_API_RETNUMBER(GL_INVALID_VALUE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -414,4 +419,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_aux2",ring_get_gl_aux2);
ring_vm_funcregister("get_gl_aux3",ring_get_gl_aux3);
ring_vm_funcregister("get_gl_invalid_enum",ring_get_gl_invalid_enum);
+ ring_vm_funcregister("get_gl_invalid_value",ring_get_gl_invalid_value);
}
