Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_FOG_START
@@ -690,6 +690,11 @@ RING_FUNC(ring_get_gl_fog_density)
RING_API_RETNUMBER(GL_FOG_DENSITY);
}
+RING_FUNC(ring_get_gl_fog_start)
+{
+ RING_API_RETNUMBER(GL_FOG_START);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -828,4 +833,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_fog",ring_get_gl_fog);
ring_vm_funcregister("get_gl_fog_index",ring_get_gl_fog_index);
ring_vm_funcregister("get_gl_fog_density",ring_get_gl_fog_density);
+ ring_vm_funcregister("get_gl_fog_start",ring_get_gl_fog_start);
}
