Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_FOG_MODE
@@ -700,6 +700,11 @@ RING_FUNC(ring_get_gl_fog_end)
RING_API_RETNUMBER(GL_FOG_END);
}
+RING_FUNC(ring_get_gl_fog_mode)
+{
+ RING_API_RETNUMBER(GL_FOG_MODE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -840,4 +845,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_fog_density",ring_get_gl_fog_density);
ring_vm_funcregister("get_gl_fog_start",ring_get_gl_fog_start);
ring_vm_funcregister("get_gl_fog_end",ring_get_gl_fog_end);
+ ring_vm_funcregister("get_gl_fog_mode",ring_get_gl_fog_mode);
}
