Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE_RESIDENT
@@ -2475,6 +2475,11 @@ RING_FUNC(ring_get_gl_texture_priority)
RING_API_RETNUMBER(GL_TEXTURE_PRIORITY);
}
+RING_FUNC(ring_get_gl_texture_resident)
+{
+ RING_API_RETNUMBER(GL_TEXTURE_RESIDENT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2970,4 +2975,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_proxy_texture_1d",ring_get_gl_proxy_texture_1d);
ring_vm_funcregister("get_gl_proxy_texture_2d",ring_get_gl_proxy_texture_2d);
ring_vm_funcregister("get_gl_texture_priority",ring_get_gl_texture_priority);
+ ring_vm_funcregister("get_gl_texture_resident",ring_get_gl_texture_resident);
}
