Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_R3_G3_B2
@@ -2105,6 +2105,11 @@ RING_FUNC(ring_get_gl_polygon_offset_line)
RING_API_RETNUMBER(GL_POLYGON_OFFSET_LINE);
}
+RING_FUNC(ring_get_gl_r3_g3_b2)
+{
+ RING_API_RETNUMBER(GL_R3_G3_B2);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2526,4 +2531,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_polygon_offset_units",ring_get_gl_polygon_offset_units);
ring_vm_funcregister("get_gl_polygon_offset_point",ring_get_gl_polygon_offset_point);
ring_vm_funcregister("get_gl_polygon_offset_line",ring_get_gl_polygon_offset_line);
+ ring_vm_funcregister("get_gl_r3_g3_b2",ring_get_gl_r3_g3_b2);
}
