Fix bug where default shaders was not linking. (#3261)

This commit is contained in:
Branimir Ričko 2023-08-26 18:55:57 +02:00 committed by GitHub
parent 9c9fba6a6c
commit b27e98a428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"