diff options
Diffstat (limited to 'intern/cycles/device/device.h')
-rw-r--r-- | intern/cycles/device/device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/device/device.h b/intern/cycles/device/device.h index 3c697b350a2..bdf18d09b31 100644 --- a/intern/cycles/device/device.h +++ b/intern/cycles/device/device.h @@ -426,6 +426,9 @@ class Device { /* acceleration structure building */ virtual void build_bvh(BVH *bvh, Progress &progress, bool refit); + /* OptiX specific destructor. */ + virtual void release_optix_bvh(BVH *){}; + #ifdef WITH_NETWORK /* networking */ void server_run(); |