Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_STENCIL_REF
@@ -775,6 +775,11 @@ RING_FUNC(ring_get_gl_stencil_pass_depth_pass)
RING_API_RETNUMBER(GL_STENCIL_PASS_DEPTH_PASS);
}
+RING_FUNC(ring_get_gl_stencil_ref)
+{
+ RING_API_RETNUMBER(GL_STENCIL_REF);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -930,4 +935,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_stencil_fail",ring_get_gl_stencil_fail);
ring_vm_funcregister("get_gl_stencil_pass_depth_fail",ring_get_gl_stencil_pass_depth_fail);
ring_vm_funcregister("get_gl_stencil_pass_depth_pass",ring_get_gl_stencil_pass_depth_pass);
+ ring_vm_funcregister("get_gl_stencil_ref",ring_get_gl_stencil_ref);
}
