]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/commands_backend.h
Initial implementation of Vulkan backend
[libs/gl.git] / source / backends / opengl / commands_backend.h
index f54b27a11c1947cd3fd2e2e357a43b488a677b3d..f4976f3f7b48bdf38b837ce0fb8f79c67c34aa29 100644 (file)
@@ -13,9 +13,12 @@ class QueryPool;
 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 *);