diff options
| author | 2022-03-07 01:39:16 -0500 | |
|---|---|---|
| committer | 2022-03-07 15:25:20 -0500 | |
| commit | 381f1dd2c993847fdef65b2c9da4c7ec29079553 (patch) | |
| tree | 80943b6d490d7e99ae71681555ec89d44829cdb5 /src/common/bit_util.h | |
| parent | gl_graphics_pipeline: Improve shader builder synchronization using fences (#7... (diff) | |
| download | yuzu-381f1dd2c993847fdef65b2c9da4c7ec29079553.tar.gz yuzu-381f1dd2c993847fdef65b2c9da4c7ec29079553.tar.xz yuzu-381f1dd2c993847fdef65b2c9da4c7ec29079553.zip | |
core: Don't shutdown a null GPU
When CreateGPU fails, yuzu would try and shutdown the GPU instance
regardless of whether any instance was actually created.
Check for nullptr before calling its methods to prevent a crash.
Diffstat (limited to 'src/common/bit_util.h')
0 files changed, 0 insertions, 0 deletions