Cycles: Silence warning when building without OSL
authorDalai Felinto <dfelinto@gmail.com>
Thu, 9 Nov 2017 10:39:30 +0000 (08:39 -0200)
committerDalai Felinto <dfelinto@gmail.com>
Thu, 9 Nov 2017 10:39:30 +0000 (08:39 -0200)
intern/cycles/render/mesh.cpp

index 189ba80ad2a4911b84ffd2ff5ca0f54e1f3dfb34..4353fd4b8192509e155822840276fd8ec272d8e1 100644 (file)
@@ -2170,6 +2170,8 @@ void MeshManager::device_free(Device *device, DeviceScene *dscene)
                og->attribute_map.clear();
                og->object_names.clear();
        }
+#else
+       (void)device;
 #endif
 }