class OpenGLCommands
{
protected:
- const PipelineState *pipeline_state;
+ const PipelineState *pipeline_state = 0;
- OpenGLCommands();
+ OpenGLCommands() = default;
+
+ void begin_frame(unsigned) { }
+ void submit_frame();
void use_pipeline(const PipelineState *);
void clear(const ClearValue *);