X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fambientocclusion.h;h=6c2c5d7eea938daa6be0e6e5ce2387dd2a361660;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hp=ff1e82443c972bb7d8fee12bf011aa2e3b3e9ea9;hpb=df20a7e137542a4156cc5ffa8118d59de6b68547;p=libs%2Fgl.git diff --git a/source/ambientocclusion.h b/source/ambientocclusion.h index ff1e8244..6c2c5d7e 100644 --- a/source/ambientocclusion.h +++ b/source/ambientocclusion.h @@ -46,7 +46,9 @@ private: Program occlude_shader; Program combine_shader; mutable ProgramData shdata; - const Mesh &quad; + RefPtr quad; + RefPtr linear_sampler; + RefPtr nearest_sampler; public: AmbientOcclusion(unsigned, unsigned, float = 1.0f);