Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE_MAG_FILTER
@@ -2060,6 +2060,11 @@ RING_FUNC(ring_get_gl_linear_mipmap_linear)
RING_API_RETNUMBER(GL_LINEAR_MIPMAP_LINEAR);
}
+RING_FUNC(ring_get_gl_texture_mag_filter)
+{
+ RING_API_RETNUMBER(GL_TEXTURE_MAG_FILTER);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2472,4 +2477,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_linear_mipmap_nearest",ring_get_gl_linear_mipmap_nearest);
ring_vm_funcregister("get_gl_nearest_mipmap_linear",ring_get_gl_nearest_mipmap_linear);
ring_vm_funcregister("get_gl_linear_mipmap_linear",ring_get_gl_linear_mipmap_linear);
+ ring_vm_funcregister("get_gl_texture_mag_filter",ring_get_gl_texture_mag_filter);
}
