Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_SUBPIXEL_BITS
@@ -1305,6 +1305,11 @@ RING_FUNC(ring_get_gl_max_client_attrib_stack_depth)
RING_API_RETNUMBER(GL_MAX_CLIENT_ATTRIB_STACK_DEPTH);
}
+RING_FUNC(ring_get_gl_subpixel_bits)
+{
+ RING_API_RETNUMBER(GL_SUBPIXEL_BITS);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1566,4 +1571,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_max_texture_stack_depth",ring_get_gl_max_texture_stack_depth);
ring_vm_funcregister("get_gl_max_viewport_dims",ring_get_gl_max_viewport_dims);
ring_vm_funcregister("get_gl_max_client_attrib_stack_depth",ring_get_gl_max_client_attrib_stack_depth);
+ ring_vm_funcregister("get_gl_subpixel_bits",ring_get_gl_subpixel_bits);
}
