Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_AUTO_NORMAL
@@ -1370,6 +1370,11 @@ RING_FUNC(ring_get_gl_name_stack_depth)
RING_API_RETNUMBER(GL_NAME_STACK_DEPTH);
}
+RING_FUNC(ring_get_gl_auto_normal)
+{
+ RING_API_RETNUMBER(GL_AUTO_NORMAL);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1644,4 +1649,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_accum_blue_bits",ring_get_gl_accum_blue_bits);
ring_vm_funcregister("get_gl_accum_alpha_bits",ring_get_gl_accum_alpha_bits);
ring_vm_funcregister("get_gl_name_stack_depth",ring_get_gl_name_stack_depth);
+ ring_vm_funcregister("get_gl_auto_normal",ring_get_gl_auto_normal);
}
