Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LINE_WIDTH
@@ -550,6 +550,11 @@ RING_FUNC(ring_get_gl_line_smooth)
RING_API_RETNUMBER(GL_LINE_SMOOTH);
}
+RING_FUNC(ring_get_gl_line_width)
+{
+ RING_API_RETNUMBER(GL_LINE_WIDTH);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -660,4 +665,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_point_size_range",ring_get_gl_point_size_range);
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);
}
