Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_POLYGON_MODE
@@ -600,6 +600,11 @@ RING_FUNC(ring_get_gl_list_index)
RING_API_RETNUMBER(GL_LIST_INDEX);
}
+RING_FUNC(ring_get_gl_polygon_mode)
+{
+ RING_API_RETNUMBER(GL_POLYGON_MODE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -720,4 +725,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_max_list_nesting",ring_get_gl_max_list_nesting);
ring_vm_funcregister("get_gl_list_base",ring_get_gl_list_base);
ring_vm_funcregister("get_gl_list_index",ring_get_gl_list_index);
+ ring_vm_funcregister("get_gl_polygon_mode",ring_get_gl_polygon_mode);
}
