Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_UNPACK_SKIP_PIXELS
@@ -1125,6 +1125,11 @@ RING_FUNC(ring_get_gl_unpack_skip_rows)
RING_API_RETNUMBER(GL_UNPACK_SKIP_ROWS);
}
+RING_FUNC(ring_get_gl_unpack_skip_pixels)
+{
+ RING_API_RETNUMBER(GL_UNPACK_SKIP_PIXELS);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1350,4 +1355,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
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);
}
