]> git.tdb.fi Git - libs/gl.git/blobdiff - source/shadowmap.h
Store Renderables as non-const pointers or references
[libs/gl.git] / source / shadowmap.h
index 119d369c1eb6db052048d941008c18f7b3d58560..658b59a91a58a196b92063bc283f80686cdc26e8 100644 (file)
@@ -34,7 +34,7 @@ private:
        mutable bool rendered;
 
 public:
-       ShadowMap(unsigned, const Renderable &, const Light &);
+       ShadowMap(unsigned, Renderable &, const Light &);
 
        /** Sets the ShadowMap target point and radius.  The transformation matrix is
        computed so that a sphere with the specified parameters will be completely