Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_COLOR_WRITEMASK
@@ -930,6 +930,11 @@ RING_FUNC(ring_get_gl_color_clear_value)
RING_API_RETNUMBER(GL_COLOR_CLEAR_VALUE);
}
+RING_FUNC(ring_get_gl_color_writemask)
+{
+ RING_API_RETNUMBER(GL_COLOR_WRITEMASK);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1116,4 +1121,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_index_clear_value",ring_get_gl_index_clear_value);
ring_vm_funcregister("get_gl_index_writemask",ring_get_gl_index_writemask);
ring_vm_funcregister("get_gl_color_clear_value",ring_get_gl_color_clear_value);
+ ring_vm_funcregister("get_gl_color_writemask",ring_get_gl_color_writemask);
}
