suyu/src
lat9nq b5e60ae1b0 video_core: Cancel Scoped's exit call on GPU failure
When CreateRenderer fails, the GraphicsContext that was std::move'd into
it is destroyed before the Scoped that was created to manage its
currency. In that case, the GraphicsContext::Scoped will still call its
destructor at the ending of the function. And because the context is
destroyed, the Scoped will cause a crash as it attempts to call a
destroyed object's DoneCurrent function.

Since we know when the call would be invalid, call the Scoped's Cancel
method. This prevents it from calling a method on a destroyed object.
2022-03-07 18:21:56 -05:00
..
audio_core audio_core: Update current process revision 2022-02-11 00:56:13 -05:00
common Merge pull request #7973 from Morph1984/debug-crash 2022-03-06 04:49:27 +01:00
core emu_window: Create a way to Cancel the exit of a Scoped 2022-03-07 18:21:56 -05:00
input_common Merge pull request #7859 from german77/battery_again 2022-02-24 11:42:51 -08:00
shader_recompiler emit_glsl_atomic: Implement 32x2 fallback atomic ops 2022-01-29 19:56:03 -05:00
tests cmake: make tests optional 2022-01-12 00:36:20 +01:00
video_core video_core: Cancel Scoped's exit call on GPU failure 2022-03-07 18:21:56 -05:00
web_service web_service: Silence -Wmaybe-uninitialized on httplib.h 2021-07-12 03:30:45 -03:00
yuzu dynarmic: Inline exclusive memory accesses 2022-02-27 19:40:05 +00:00
yuzu_cmd dynarmic: Inline exclusive memory accesses 2022-02-27 19:40:05 +00:00
.clang-format
CMakeLists.txt cmake: make tests optional 2022-01-12 00:36:20 +01:00