X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=dither_effect.h;h=9818603c2a46f4a659628b68c03be5fed3f868ac;hp=314390752cebde884f87f8d54db798f33f310cae;hb=5ee3e6bb0bf100d57a06911b89c3a0a0dc49e2be;hpb=37f56fcbe571b2322243f6de59494bf9e0cbb37a diff --git a/dither_effect.h b/dither_effect.h index 3143907..9818603 100644 --- a/dither_effect.h +++ b/dither_effect.h @@ -1,5 +1,5 @@ -#ifndef _DITHER_EFFECT_H -#define _DITHER_EFFECT_H 1 +#ifndef _MOVIT_DITHER_EFFECT_H +#define _MOVIT_DITHER_EFFECT_H 1 // Implements simple rectangular-PDF dither. // @@ -43,11 +43,13 @@ // like many LCD monitors do, but it starts to get very hairy, again, for limited gains.) // The dither is also deterministic across runs. -#include +#include #include #include "effect.h" +namespace movit { + class DitherEffect : public Effect { private: // Should not be instantiated by end users; @@ -75,7 +77,8 @@ private: int texture_width, texture_height; GLuint texnum; - bool need_texture_update; }; -#endif // !defined(_DITHER_EFFECT_H) +} // namespace movit + +#endif // !defined(_MOVIT_DITHER_EFFECT_H)