Fix #34121: OSL + persistent images option was not freeing shader memory properly,

causing memory to increase continuously during animation render.
This commit is contained in:
Brecht Van Lommel
2013-02-14 16:11:47 +00:00
parent a47af30561
commit adbd84c320
9 changed files with 42 additions and 10 deletions

View 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);