]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/commands_backend.h
Use default member initializers for simple types
[libs/gl.git] / source / backends / opengl / commands_backend.h
index f54b27a11c1947cd3fd2e2e357a43b488a677b3d..0fe989a730256127ba45bf00b6e8ccb2e42582a8 100644 (file)
@@ -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 *);