Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021