Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_PACK_ROW_LENGTH
@@ -1145,6 +1145,11 @@ RING_FUNC(ring_get_gl_pack_lsb_first)
RING_API_RETNUMBER(GL_PACK_LSB_FIRST);
}
+RING_FUNC(ring_get_gl_pack_row_length)
+{
+ RING_API_RETNUMBER(GL_PACK_ROW_LENGTH);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1374,4 +1379,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_unpack_alignment",ring_get_gl_unpack_alignment);
ring_vm_funcregister("get_gl_pack_swap_bytes",ring_get_gl_pack_swap_bytes);
ring_vm_funcregister("get_gl_pack_lsb_first",ring_get_gl_pack_lsb_first);
+ ring_vm_funcregister("get_gl_pack_row_length",ring_get_gl_pack_row_length);
}
