Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE_INTERNAL_FORMAT
@@ -1535,6 +1535,11 @@ RING_FUNC(ring_get_gl_texture_height)
RING_API_RETNUMBER(GL_TEXTURE_HEIGHT);
}
+RING_FUNC(ring_get_gl_texture_internal_format)
+{
+ RING_API_RETNUMBER(GL_TEXTURE_INTERNAL_FORMAT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1842,4 +1847,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_texture_width",ring_get_gl_texture_width);
ring_vm_funcregister("get_gl_transform_bit",ring_get_gl_transform_bit);
ring_vm_funcregister("get_gl_texture_height",ring_get_gl_texture_height);
+ ring_vm_funcregister("get_gl_texture_internal_format",ring_get_gl_texture_internal_format);
}
