Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_STENCIL_BUFFER_BIT
@@ -270,6 +270,11 @@ RING_FUNC(ring_get_gl_src_alpha_saturate)
RING_API_RETNUMBER(GL_SRC_ALPHA_SATURATE);
}
+RING_FUNC(ring_get_gl_stencil_buffer_bit)
+{
+ RING_API_RETNUMBER(GL_STENCIL_BUFFER_BIT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -324,4 +329,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_dst_color",ring_get_gl_dst_color);
ring_vm_funcregister("get_gl_one_minus_dst_color",ring_get_gl_one_minus_dst_color);
ring_vm_funcregister("get_gl_src_alpha_saturate",ring_get_gl_src_alpha_saturate);
+ ring_vm_funcregister("get_gl_stencil_buffer_bit",ring_get_gl_stencil_buffer_bit);
}
