Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_DOMAIN
@@ -470,6 +470,11 @@ RING_FUNC(ring_get_gl_order)
RING_API_RETNUMBER(GL_ORDER);
}
+RING_FUNC(ring_get_gl_domain)
+{
+ RING_API_RETNUMBER(GL_DOMAIN);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -564,4 +569,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_ccw",ring_get_gl_ccw);
ring_vm_funcregister("get_gl_coeff",ring_get_gl_coeff);
ring_vm_funcregister("get_gl_order",ring_get_gl_order);
+ ring_vm_funcregister("get_gl_domain",ring_get_gl_domain);
}
