Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE_COORD_ARRAY_STRIDE
@@ -2580,6 +2580,11 @@ RING_FUNC(ring_get_gl_texture_coord_array_type)
RING_API_RETNUMBER(GL_TEXTURE_COORD_ARRAY_TYPE);
}
+RING_FUNC(ring_get_gl_texture_coord_array_stride)
+{
+ RING_API_RETNUMBER(GL_TEXTURE_COORD_ARRAY_STRIDE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -3096,4 +3101,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_index_array_stride",ring_get_gl_index_array_stride);
ring_vm_funcregister("get_gl_texture_coord_array_size",ring_get_gl_texture_coord_array_size);
ring_vm_funcregister("get_gl_texture_coord_array_type",ring_get_gl_texture_coord_array_type);
+ ring_vm_funcregister("get_gl_texture_coord_array_stride",ring_get_gl_texture_coord_array_stride);
}
