Fix #34121: OSL + persistent images option was not freeing shader memory properly,
[blender.git] / intern / cycles / render / osl.h
index d17f4c813621cf57332032fc27427a48f458ac34..4b4ed6cba0038a9a14b39967012ff7ff50db69df 100644 (file)
@@ -64,6 +64,8 @@ public:
        OSLShaderManager();
        ~OSLShaderManager();
 
+       void reset(Scene *scene);
+
        bool use_osl() { return true; }
 
        void device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress& progress);