X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbackends%2Fopengl%2Fcommands_backend.h;h=0fe989a730256127ba45bf00b6e8ccb2e42582a8;hp=f54b27a11c1947cd3fd2e2e357a43b488a677b3d;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 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 *);