Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_UNPACK_ROW_LENGTH
@@ -1115,6 +1115,11 @@ RING_FUNC(ring_get_gl_unpack_lsb_first)
RING_API_RETNUMBER(GL_UNPACK_LSB_FIRST);
}
+RING_FUNC(ring_get_gl_unpack_row_length)
+{
+ RING_API_RETNUMBER(GL_UNPACK_ROW_LENGTH);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1338,4 +1343,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_pixel_map_a_to_a_size",ring_get_gl_pixel_map_a_to_a_size);
ring_vm_funcregister("get_gl_unpack_swap_bytes",ring_get_gl_unpack_swap_bytes);
ring_vm_funcregister("get_gl_unpack_lsb_first",ring_get_gl_unpack_lsb_first);
+ ring_vm_funcregister("get_gl_unpack_row_length",ring_get_gl_unpack_row_length);
}
