Blender Git Commit Log

Git Commits -> Revision 8caeae9

Revision 8caeae9 by Patrick Mours (master)
November 28, 2019, 16:07 (GMT)
Fix crash if OptiX context creation fails in Cycles

When encountering an error during context creation, the "OptiXDevice" constructor aborts early.
This means the "cuda_stream" vector is never resized and the destructor iterated over non-existent data.

Commit Details:

Full Hash: 8caeae9f40abe942030a5b4c269a3e4b1a601021
Parent Commit: 627a344
Lines Changed: +2, -2

1 Modified Path:

/intern/cycles/device/device_optix.cpp (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021