Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE_ENV
@@ -1995,6 +1995,11 @@ RING_FUNC(ring_get_gl_texture_env_color)
RING_API_RETNUMBER(GL_TEXTURE_ENV_COLOR);
}
+RING_FUNC(ring_get_gl_texture_env)
+{
+ RING_API_RETNUMBER(GL_TEXTURE_ENV);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2394,4 +2399,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_decal",ring_get_gl_decal);
ring_vm_funcregister("get_gl_texture_env_mode",ring_get_gl_texture_env_mode);
ring_vm_funcregister("get_gl_texture_env_color",ring_get_gl_texture_env_color);
+ ring_vm_funcregister("get_gl_texture_env",ring_get_gl_texture_env);
}
