Skip to content
Snippets Groups Projects
Commit f959e3d4 authored by Brecht Van Lommel's avatar Brecht Van Lommel
Browse files

Fix T39146: recent cycles CUDA regression in fix for T39114.

This commit is to be backported to the 2.70 release.
parent 23fd670c
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,10 @@ void LookupTables::device_update(Device *device, DeviceScene *dscene)
if(!need_update)
return;
device->tex_alloc("__lookup_table", dscene->lookup_table);
device->tex_free(dscene->lookup_table);
if(lookup_tables.size() > 0)
device->tex_alloc("__lookup_table", dscene->lookup_table);
need_update = false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment