From 896d9a4ee56b4aa97174e1a55584cf4c73e86327 Mon Sep 17 00:00:00 2001 From: Thomas Hogarth Date: Sat, 18 Mar 2017 07:46:14 +0000 Subject: [PATCH] small compile fix for ios viewer example gles1 --- examples/osgviewerIPhone/shaders.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osgviewerIPhone/shaders.h b/examples/osgviewerIPhone/shaders.h index cd3e83024..bedb3e729 100644 --- a/examples/osgviewerIPhone/shaders.h +++ b/examples/osgviewerIPhone/shaders.h @@ -44,7 +44,7 @@ const char* ColorShaderFrag = " gl_FragColor = color;\n" "}\n"; -#elif +#else const char* ColorShaderVert = NULL; const char* ColorShaderFrag = NULL; @@ -105,7 +105,7 @@ const char* TextShaderFrag = " gl_FragColor = color * texture2D(glyphTexture, texCoord.xy).a;\n" "}\n"; -#elif +#else const char* TextShaderVert = NULL; const char* TextShaderFrag = NULL;