X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcolorcurve.h;h=2b854bec8b6f8ac5392f010e64a06b5269b83415;hb=d1e3975c163694d7bca6417463462be950019e5e;hp=f66ff976d7a0d06dc020980239b9adcf0676d008;hpb=a1eb8711ba225bb4423868c50369ad5592465171;p=libs%2Fgl.git diff --git a/source/colorcurve.h b/source/colorcurve.h index f66ff976..2b854bec 100644 --- a/source/colorcurve.h +++ b/source/colorcurve.h @@ -1,10 +1,11 @@ -#ifndef COLORCURVE_H_ -#define COLORCURVE_H_ +#ifndef MSP_GL_COLORCURVE_H_ +#define MSP_GL_COLORCURVE_H_ #include "postprocessor.h" #include "program.h" #include "programdata.h" #include "texture1d.h" +#include "texturing.h" namespace Msp { namespace GL { @@ -24,6 +25,7 @@ private: Program shprog; ProgramData shdata; Texture1D curve; + Texturing texturing; const Mesh &quad; public: @@ -48,7 +50,7 @@ public: /// Sets output mapping to linear. This is equivalent to set_gamma(1). void set_linear(); - virtual void render(const Texture2D &, const Texture2D &); + virtual void render(Renderer &, const Texture2D &, const Texture2D &); }; } // namespace GL