]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/framebuffer.h
Use constructor delegation instead of init functions when possible
[libs/gl.git] / source / core / framebuffer.h
index 18e48f2022b6b1197129a6de6c57ee8a37cf38b3..0b9af1efd167e47addd3572eff9db4e80b87d3e1 100644 (file)
@@ -68,10 +68,6 @@ public:
        /** Creates a framebuffer and sets its format. */
        Framebuffer(const FrameFormat &);
 
-private:
-       void init();
-
-public:
        /** Sets the format of the framebuffer.  Once the format is set, it can't
        be changed. */
        void set_format(const FrameFormat &);