Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LINEAR
@@ -2035,6 +2035,11 @@ RING_FUNC(ring_get_gl_nearest)
RING_API_RETNUMBER(GL_NEAREST);
}
+RING_FUNC(ring_get_gl_linear)
+{
+ RING_API_RETNUMBER(GL_LINEAR);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2442,4 +2447,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
+ ring_vm_funcregister("get_gl_linear",ring_get_gl_linear);
}
