]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/material/EffectCullVisitor.hxx
Fix removal of directories.
[simgear.git] / simgear / scene / material / EffectCullVisitor.hxx
index c4d3c6300ad3181d80028afbffe2265d1a5662af..ec8f223a8a6fbe8b7138d1e04cd6aedee6dd56fd 100644 (file)
@@ -41,11 +41,11 @@ public:
     virtual void reset();
 
     void clearBufferList();
-    void addBuffer(int i, osg::Texture2D* tex);
-    osg::Texture2D* getBuffer(int i);
+    void addBuffer(std::string b, osg::Texture2D* tex);
+    osg::Texture2D* getBuffer(std::string b);
 
 private:
-    std::map<int,osg::ref_ptr<osg::Texture2D> > _bufferList;
+    std::map<std::string,osg::ref_ptr<osg::Texture2D> > _bufferList;
     std::vector<osg::ref_ptr<EffectGeode> > _lightList;
     bool _collectLights;
 };