X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fopengl%2Fcommands_backend.h;h=f4976f3f7b48bdf38b837ce0fb8f79c67c34aa29;hb=99ca354f18119f82f1adeca100cd665a8f640317;hp=f54b27a11c1947cd3fd2e2e357a43b488a677b3d;hpb=160e9eea29bd10034733d59507fa1bcca36be401;p=libs%2Fgl.git diff --git a/source/backends/opengl/commands_backend.h b/source/backends/opengl/commands_backend.h index f54b27a1..f4976f3f 100644 --- a/source/backends/opengl/commands_backend.h +++ b/source/backends/opengl/commands_backend.h @@ -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 *);