Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_DOUBLE
@@ -1675,6 +1675,11 @@ RING_FUNC(ring_get_gl_4_bytes)
RING_API_RETNUMBER(GL_4_BYTES);
}
+RING_FUNC(ring_get_gl_double)
+{
+ RING_API_RETNUMBER(GL_DOUBLE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2010,4 +2015,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_2_bytes",ring_get_gl_2_bytes);
ring_vm_funcregister("get_gl_3_bytes",ring_get_gl_3_bytes);
ring_vm_funcregister("get_gl_4_bytes",ring_get_gl_4_bytes);
+ ring_vm_funcregister("get_gl_double",ring_get_gl_double);
}
