mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #186 from lioncash/early-return
ZZOgl: Fix an early return in ZZoglShadersGLSL4
This commit is contained in:
commit
a0a54bdd05
|
@ -159,8 +159,8 @@ bool ZZshStartUsingShaders() {
|
||||||
bool bFailed;
|
bool bFailed;
|
||||||
FRAGMENTSHADER* pfrag = ZZshLoadShadeEffect(0, 1, 1, 1, 1, temp, 0, &bFailed);
|
FRAGMENTSHADER* pfrag = ZZshLoadShadeEffect(0, 1, 1, 1, 1, temp, 0, &bFailed);
|
||||||
if( bFailed || pfrag == NULL ) {
|
if( bFailed || pfrag == NULL ) {
|
||||||
return false;
|
|
||||||
ZZLog::Error_Log("Shader test failed.");
|
ZZLog::Error_Log("Shader test failed.");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ZZLog::Error_Log("Creating extra effects.");
|
ZZLog::Error_Log("Creating extra effects.");
|
||||||
|
|
Loading…
Reference in New Issue