X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcolorcurve.h;h=3f65b04916897c6d85bde7ec4f33fece160a3cd1;hp=dac0ac08ab689382ace03041070d4db77ec873e2;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hpb=18240e2bb031551e9c72a55c7d974904d209760a diff --git a/source/colorcurve.h b/source/colorcurve.h index dac0ac08..3f65b049 100644 --- a/source/colorcurve.h +++ b/source/colorcurve.h @@ -49,7 +49,9 @@ private: ProgramData shdata; Texture1D curve; Texturing texturing; - const Mesh &quad; + RefPtr quad; + RefPtr linear_sampler; + RefPtr nearest_sampler; public: ColorCurve(); @@ -61,10 +63,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);