Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_PACK_SWAP_BYTES
@@ -1135,6 +1135,11 @@ RING_FUNC(ring_get_gl_unpack_alignment)
RING_API_RETNUMBER(GL_UNPACK_ALIGNMENT);
}
+RING_FUNC(ring_get_gl_pack_swap_bytes)
+{
+ RING_API_RETNUMBER(GL_PACK_SWAP_BYTES);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1362,4 +1367,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_unpack_skip_rows",ring_get_gl_unpack_skip_rows);
ring_vm_funcregister("get_gl_unpack_skip_pixels",ring_get_gl_unpack_skip_pixels);
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);
}
