Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_POLYGON_SMOOTH
@@ -605,6 +605,11 @@ RING_FUNC(ring_get_gl_polygon_mode)
RING_API_RETNUMBER(GL_POLYGON_MODE);
}
+RING_FUNC(ring_get_gl_polygon_smooth)
+{
+ RING_API_RETNUMBER(GL_POLYGON_SMOOTH);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -726,4 +731,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
+ ring_vm_funcregister("get_gl_polygon_smooth",ring_get_gl_polygon_smooth);
}
