Skip to content

Commit

Permalink
Fix bug where default shaders was not linking. (raysan5#3261)
Browse files Browse the repository at this point in the history
  • Loading branch information
branc116 authored and Rodrigo Escar committed Oct 4, 2023
1 parent 8929799 commit 0a8e58c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rlgl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0a8e58c

Please sign in to comment.