mirror of https://github.com/PCSX2/pcsx2.git
GS: Fix crash if CAS pipeline failed to compile (it'd crash when the user enables CAS, which is still enough of a good reason to make the whole rendering backend fail to initialize)
This commit is contained in:
parent
b104d72889
commit
73f53d5c82
|
@ -739,7 +739,9 @@ bool GSDevice12::Create(GSVSyncMode vsync_mode, bool allow_present_throttle)
|
|||
return false;
|
||||
}
|
||||
|
||||
CompileCASPipelines();
|
||||
if (!CompileCASPipelines())
|
||||
return false;
|
||||
|
||||
if (!CompileImGuiPipeline())
|
||||
return false;
|
||||
|
||||
|
|
|
@ -2104,7 +2104,8 @@ bool GSDeviceVK::Create(GSVSyncMode vsync_mode, bool allow_present_throttle)
|
|||
return false;
|
||||
}
|
||||
|
||||
CompileCASPipelines();
|
||||
if (!CompileCASPipelines())
|
||||
return false;
|
||||
|
||||
if (!CompileImGuiPipeline())
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue