]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/framebuffer.h
Some more default member initializers
[libs/gl.git] / source / core / framebuffer.h
index fd7b8eb4d17ccffd2f829182dd55d52837187dcb..920d9422fae0c103d0a492c81e9024b9f3a595ae 100644 (file)
@@ -47,9 +47,9 @@ protected:
 
        FrameFormat format;
        std::vector<Attachment> attachments;
-       unsigned width;
-       unsigned height;
-       mutable unsigned dirty;
+       unsigned width = 0;
+       unsigned height = 0;
+       mutable unsigned dirty = 0;
 
        Framebuffer(bool);
 public: