Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_RENDERER
@@ -1935,6 +1935,11 @@ RING_FUNC(ring_get_gl_vendor)
RING_API_RETNUMBER(GL_VENDOR);
}
+RING_FUNC(ring_get_gl_renderer)
+{
+ RING_API_RETNUMBER(GL_RENDERER);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2322,4 +2327,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_incr",ring_get_gl_incr);
ring_vm_funcregister("get_gl_decr",ring_get_gl_decr);
ring_vm_funcregister("get_gl_vendor",ring_get_gl_vendor);
+ ring_vm_funcregister("get_gl_renderer",ring_get_gl_renderer);
}
