Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_POLYGON_STIPPLE_BIT
@@ -130,6 +130,11 @@ RING_FUNC(ring_get_gl_polygon)
RING_API_RETNUMBER(GL_POLYGON);
}
+RING_FUNC(ring_get_gl_polygon_stipple_bit)
+{
+ RING_API_RETNUMBER(GL_POLYGON_STIPPLE_BIT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -156,4 +161,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_quad_strip",ring_get_gl_quad_strip);
ring_vm_funcregister("get_gl_polygon_bit",ring_get_gl_polygon_bit);
ring_vm_funcregister("get_gl_polygon",ring_get_gl_polygon);
+ ring_vm_funcregister("get_gl_polygon_stipple_bit",ring_get_gl_polygon_stipple_bit);
}
