Merge pull request #186 from lioncash/early-return

ZZOgl: Fix an early return in ZZoglShadersGLSL4
This commit is contained in:
sudonim1 2014-08-01 12:42:00 +01:00
commit a0a54bdd05
1 changed files with 1 additions and 1 deletions

View File

@ -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.");