Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE_GREEN_SIZE
@@ -2435,6 +2435,11 @@ RING_FUNC(ring_get_gl_texture_red_size)
RING_API_RETNUMBER(GL_TEXTURE_RED_SIZE);
}
+RING_FUNC(ring_get_gl_texture_green_size)
+{
+ RING_API_RETNUMBER(GL_TEXTURE_GREEN_SIZE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2922,4 +2927,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_rgba12",ring_get_gl_rgba12);
ring_vm_funcregister("get_gl_rgba16",ring_get_gl_rgba16);
ring_vm_funcregister("get_gl_texture_red_size",ring_get_gl_texture_red_size);
+ ring_vm_funcregister("get_gl_texture_green_size",ring_get_gl_texture_green_size);
}
