diff options
| author | raysan5 <raysan5@gmail.com> | 2015-01-18 10:57:30 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2015-01-18 10:57:30 +0100 |
| commit | 5104567a24021fb07e62f941b4b9e64f4bda56e7 (patch) | |
| tree | efbe8719ae383edd60b08d0969377218e275430a /src/rlgl.c | |
| parent | 2968ba9938792753a876deb3e2584f3361c60b4d (diff) | |
| download | raylib-5104567a24021fb07e62f941b4b9e64f4bda56e7.tar.gz raylib-5104567a24021fb07e62f941b4b9e64f4bda56e7.zip | |
Some code tweaks
Diffstat (limited to 'src/rlgl.c')
| -rw-r--r-- | src/rlgl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |
