Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_MAP_STENCIL
@@ -1170,6 +1170,11 @@ RING_FUNC(ring_get_gl_map_color)
RING_API_RETNUMBER(GL_MAP_COLOR);
}
+RING_FUNC(ring_get_gl_map_stencil)
+{
+ RING_API_RETNUMBER(GL_MAP_STENCIL);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1404,4 +1409,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_pack_skip_pixels",ring_get_gl_pack_skip_pixels);
ring_vm_funcregister("get_gl_pack_alignment",ring_get_gl_pack_alignment);
ring_vm_funcregister("get_gl_map_color",ring_get_gl_map_color);
+ ring_vm_funcregister("get_gl_map_stencil",ring_get_gl_map_stencil);
}
