]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effects/shadowmap.h
Access builtin resources through a global instance
[libs/gl.git] / source / effects / shadowmap.h
index 5d8bf5095287423827e71f32b988a22811d1777e..a3c3a8f2f6335fb63a460887d25055a4e8e32943 100644 (file)
@@ -34,12 +34,12 @@ private:
        Vector3 target;
        float radius;
        float depth_bias;
-       mutable ProgramData shdata;
+       ProgramData shdata;
        bool rendered;
 
 public:
-       ShadowMap(Resources &, unsigned, Renderable &, const Light &, Renderable &);
-       DEPRECATED ShadowMap(Resources &, unsigned, Renderable &, const Light &);
+       ShadowMap(unsigned, Renderable &, const Light &, Renderable &);
+       DEPRECATED ShadowMap(unsigned, Renderable &, const Light &);
 private:
        void init(unsigned);