From a1d2c85d88a793e4738a07adaf117545990be2cc Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 31 Jul 2014 19:00:53 -0400 Subject: [PATCH] ZZOgl: Fix an early return in ZZoglShadersGLSL4 --- plugins/zzogl-pg/opengl/ZZoglShadersGLSL4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/zzogl-pg/opengl/ZZoglShadersGLSL4.cpp b/plugins/zzogl-pg/opengl/ZZoglShadersGLSL4.cpp index e128035f47..bfcc4055e6 100644 --- a/plugins/zzogl-pg/opengl/ZZoglShadersGLSL4.cpp +++ b/plugins/zzogl-pg/opengl/ZZoglShadersGLSL4.cpp @@ -159,8 +159,8 @@ bool ZZshStartUsingShaders() { bool bFailed; FRAGMENTSHADER* pfrag = ZZshLoadShadeEffect(0, 1, 1, 1, 1, temp, 0, &bFailed); if( bFailed || pfrag == NULL ) { - return false; ZZLog::Error_Log("Shader test failed."); + return false; } ZZLog::Error_Log("Creating extra effects.");