1 #include <msp/gl/extensions/msp_primitive_restart.h>
2 #include "batch_backend.h"
7 OpenGLBatch::OpenGLBatch(PrimitiveType t):
8 gl_prim_type(get_gl_primitive_type(t)),
9 gl_index_type(GL_UNSIGNED_SHORT)
12 bool OpenGLBatch::check_restart(bool require)
15 static Require _req(MSP_primitive_restart);
16 return MSP_primitive_restart;
19 void OpenGLBatch::set_index_type(DataType t)
21 gl_index_type = get_gl_type(t);