X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fbackends%2Fopengl%2Fcommands_backend.h;h=0fe989a730256127ba45bf00b6e8ccb2e42582a8;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hp=f54b27a11c1947cd3fd2e2e357a43b488a677b3d;hpb=3bc34893905a2df622894aadcb6669f27f186772;p=libs%2Fgl.git diff --git a/source/backends/opengl/commands_backend.h b/source/backends/opengl/commands_backend.h index f54b27a1..0fe989a7 100644 --- a/source/backends/opengl/commands_backend.h +++ b/source/backends/opengl/commands_backend.h @@ -13,9 +13,9 @@ class QueryPool; class OpenGLCommands { protected: - const PipelineState *pipeline_state; + const PipelineState *pipeline_state = 0; - OpenGLCommands(); + OpenGLCommands() = default; void use_pipeline(const PipelineState *); void clear(const ClearValue *);