small compile fix for ios viewer example gles1
This commit is contained in:
parent
2841d78653
commit
896d9a4ee5
@ -44,7 +44,7 @@ const char* ColorShaderFrag =
|
|||||||
" gl_FragColor = color;\n"
|
" gl_FragColor = color;\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
#elif
|
#else
|
||||||
|
|
||||||
const char* ColorShaderVert = NULL;
|
const char* ColorShaderVert = NULL;
|
||||||
const char* ColorShaderFrag = NULL;
|
const char* ColorShaderFrag = NULL;
|
||||||
@ -105,7 +105,7 @@ const char* TextShaderFrag =
|
|||||||
" gl_FragColor = color * texture2D(glyphTexture, texCoord.xy).a;\n"
|
" gl_FragColor = color * texture2D(glyphTexture, texCoord.xy).a;\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
#elif
|
#else
|
||||||
|
|
||||||
const char* TextShaderVert = NULL;
|
const char* TextShaderVert = NULL;
|
||||||
const char* TextShaderFrag = NULL;
|
const char* TextShaderFrag = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user