aboutsummaryrefslogtreecommitdiff
path: root/src/rlgl.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2015-01-18 10:57:30 +0100
committerraysan5 <raysan5@gmail.com>2015-01-18 10:57:30 +0100
commit5104567a24021fb07e62f941b4b9e64f4bda56e7 (patch)
treeefbe8719ae383edd60b08d0969377218e275430a /src/rlgl.c
parent2968ba9938792753a876deb3e2584f3361c60b4d (diff)
downloadraylib-5104567a24021fb07e62f941b4b9e64f4bda56e7.tar.gz
raylib-5104567a24021fb07e62f941b4b9e64f4bda56e7.zip
Some code tweaks
Diffstat (limited to 'src/rlgl.c')
-rw-r--r--src/rlgl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index 50ef1efd..2b3dfc5f 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -1682,7 +1682,7 @@ static GLuint LoadSimpleShader(void)
char fShaderStr[] = " #version 110 \n" // NOTE: Equivalent to version 100 on ES2
#elif defined(GRAPHICS_API_OPENGL_ES2)
char fShaderStr[] = " #version 100 \n" // NOTE: Must be defined this way! 110 doesn't work!
- "precision mediump float; \n" // WebGL, required for emscripten
+ "precision mediump float; \n" // precision required for OpenGL ES2 (WebGL)
#endif
"uniform sampler2D texture0; \n"
"varying vec2 fragTexCoord; \n"