From c09df50a5878deb53d86dc17841f9effe4f1171a Mon Sep 17 00:00:00 2001 From: arcum42 Date: Wed, 24 Nov 2010 04:45:24 +0000 Subject: [PATCH] zzogl-pg: Fix a compilation error when not building a Release build. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4051 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/zzogl-pg/opengl/ZZoglCreate.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/zzogl-pg/opengl/ZZoglCreate.cpp b/plugins/zzogl-pg/opengl/ZZoglCreate.cpp index 31fd3ccaa4..2107c41b4b 100644 --- a/plugins/zzogl-pg/opengl/ZZoglCreate.cpp +++ b/plugins/zzogl-pg/opengl/ZZoglCreate.cpp @@ -315,6 +315,7 @@ __forceinline bool LoadShadersFromDat() return true; } +#ifdef DEVBUILD __forceinline bool LoadShadersFromFX() { // test if ps2hw.fx exists @@ -348,6 +349,7 @@ __forceinline bool LoadShadersFromFX() return true; } #endif +#endif // open shader file according to build target