]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/commands_backend.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / backends / opengl / commands_backend.h
index 0fe989a730256127ba45bf00b6e8ccb2e42582a8..94ddc56026f6cb8c6e9fb9960ec8267566d4efbc 100644 (file)
@@ -17,11 +17,15 @@ protected:
 
        OpenGLCommands() = default;
 
+       void begin_frame(unsigned) { }
+       void submit_frame();
+
        void use_pipeline(const PipelineState *);
        void clear(const ClearValue *);
        void draw(const Batch &);
        void draw_instanced(const Batch &, unsigned);
-       void resolve_multisample(Framebuffer &);
+       void dispatch(unsigned, unsigned, unsigned);
+       void resolve_multisample();
 
        void begin_query(const QueryPool &, unsigned);
        void end_query(const QueryPool &, unsigned);