Cycles: silence unused variable warning

This commit is contained in:
Dalai Felinto 2020-10-29 18:33:29 +01:00
parent 8c3d42bd0f
commit 4a8146eb8f
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ BVH *BVH::create(const BVHParams &params,
#ifdef WITH_EMBREE
return new BVHEmbree(params, geometry, objects, device);
#else
(void)device;
break;
#endif
case BVH_LAYOUT_OPTIX: