]> git.tdb.fi Git - libs/gl.git/blobdiff - source/colorcurve.h
Better lifecycle management of the fullscreen quad in PostProcessor
[libs/gl.git] / source / colorcurve.h
index dac0ac08ab689382ace03041070d4db77ec873e2..87d43353c80c1dcbadcc329c30992e82c16ce835 100644 (file)
@@ -49,7 +49,7 @@ private:
        ProgramData shdata;
        Texture1D curve;
        Texturing texturing;
-       const Mesh &quad;
+       RefPtr<Mesh> quad;
 
 public:
        ColorCurve();
@@ -61,10 +61,6 @@ public:
        /** Sets the exponent of the */
        void set_brightness_response(float);
 
-       // Deprecated functions
-       void set_peak(float);
-       void set_brightness(float);
-
        /** Sets the gamma value used for mapping output colors.  Allowed range is
        from 0.1 to 10. */
        void set_gamma(float);