Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LINE_WIDTH_RANGE
@@ -555,6 +555,11 @@ RING_FUNC(ring_get_gl_line_width)
RING_API_RETNUMBER(GL_LINE_WIDTH);
}
+RING_FUNC(ring_get_gl_line_width_range)
+{
+ RING_API_RETNUMBER(GL_LINE_WIDTH_RANGE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -666,4 +671,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_point_size_granularity",ring_get_gl_point_size_granularity);
ring_vm_funcregister("get_gl_line_smooth",ring_get_gl_line_smooth);
ring_vm_funcregister("get_gl_line_width",ring_get_gl_line_width);
+ ring_vm_funcregister("get_gl_line_width_range",ring_get_gl_line_width_range);
}
