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