mirror of https://github.com/PCSX2/pcsx2.git
GSDX: Err, and another file, I should be asleep.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5286 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
adfa7f1579
commit
8ab8b4592d
|
@ -294,9 +294,14 @@ bool GSRendererCS::CreateDevice(GSDevice* dev_unk)
|
|||
{NULL, NULL},
|
||||
};
|
||||
|
||||
hr = dev->CompileShader(IDR_CS_FX, "ps_main0", macro, &m_ps0);
|
||||
|
||||
if(FAILED(hr)) return false;
|
||||
try
|
||||
{
|
||||
dev->CompileShader(IDR_CS_FX, "ps_main0", macro, &m_ps0);
|
||||
}
|
||||
catch (GSDXRecoverableError)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// PSConstantBuffer
|
||||
|
||||
|
|
Loading…
Reference in New Issue