]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/sequence.h
Allow creating sequences without size
[libs/gl.git] / source / render / sequence.h
index 0bc65cb78e5f1c5d410b4d5cbc52ca6e4a18adf1..e1ad77bde8baf8f6b23aff926da02f2c8e1dffd4 100644 (file)
@@ -84,13 +84,13 @@ private:
        RenderTarget *target_ms;
 
 public:
        RenderTarget *target_ms;
 
 public:
-       Sequence(unsigned, unsigned, const FrameFormat & = FrameFormat());
+       Sequence();
+       Sequence(unsigned, unsigned, const FrameFormat &);
        ~Sequence();
 
        ~Sequence();
 
-       const FrameFormat &get_target_format() { return target_format; }
-
        unsigned get_width() const { return width; }
        unsigned get_height() const { return height; }
        unsigned get_width() const { return width; }
        unsigned get_height() const { return height; }
+       const FrameFormat &get_target_format() { return target_format; }
 
        /** Adds a step to the sequence.  It's permissible to add the same
        Renderable multiple times. */
 
        /** Adds a step to the sequence.  It's permissible to add the same
        Renderable multiple times. */