Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE_ENV_MODE
@@ -1985,6 +1985,11 @@ RING_FUNC(ring_get_gl_decal)
RING_API_RETNUMBER(GL_DECAL);
}
+RING_FUNC(ring_get_gl_texture_env_mode)
+{
+ RING_API_RETNUMBER(GL_TEXTURE_ENV_MODE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2382,4 +2387,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_q",ring_get_gl_q);
ring_vm_funcregister("get_gl_modulate",ring_get_gl_modulate);
ring_vm_funcregister("get_gl_decal",ring_get_gl_decal);
+ ring_vm_funcregister("get_gl_texture_env_mode",ring_get_gl_texture_env_mode);
}
