Fix bug where default shaders was not linking.

This commit is contained in:
Branimir Ri\v{c}ko 2023-08-24 20:39:18 +02:00
parent 5ed83dfa29
commit 2057d82af3
No known key found for this signature in database
GPG Key ID: 9CB6EDC7CE4CF3A9

View File

@ -4550,6 +4550,7 @@ static void rlLoadShaderDefault(void)
#endif
#if defined(GRAPHICS_API_OPENGL_ES2)
"#version 100 \n"
"precision mediump float; \n" // Precision required for OpenGL ES2 (WebGL) (on some browsers)
"attribute vec3 vertexPosition; \n"
"attribute vec2 vertexTexCoord; \n"
"attribute vec4 vertexColor; \n"