Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_NEAREST
@@ -2030,6 +2030,11 @@ RING_FUNC(ring_get_gl_eye_plane)
RING_API_RETNUMBER(GL_EYE_PLANE);
}
+RING_FUNC(ring_get_gl_nearest)
+{
+ RING_API_RETNUMBER(GL_NEAREST);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2436,4 +2441,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_texture_gen_mode",ring_get_gl_texture_gen_mode);
ring_vm_funcregister("get_gl_object_plane",ring_get_gl_object_plane);
ring_vm_funcregister("get_gl_eye_plane",ring_get_gl_eye_plane);
+ ring_vm_funcregister("get_gl_nearest",ring_get_gl_nearest);
}
