1 #ifndef MSP_GL_BATCH_BACKEND_H_
2 #define MSP_GL_BATCH_BACKEND_H_
5 #include "primitivetype.h"
12 friend class OpenGLCommands;
15 unsigned gl_prim_type;
16 unsigned gl_index_type;
18 OpenGLBatch(PrimitiveType);
20 static bool check_restart(bool);
22 void set_index_type(DataType);
25 using BatchBackend = OpenGLBatch;