Skip to content

Commit

Permalink
gl2shim: support low (<130) shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Toroshchin committed Oct 5, 2023
1 parent d8bbd35 commit ca218a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ref/gl/gl2_shim/fragment.glsl.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ R"(
#define in varying
#define texture texture2D
#endif
#if version >= 130
precision mediump float;
#endif
#if ATTR_TEXCOORD0
layout(location = 5) uniform sampler2D uTex0;
#endif
Expand Down

0 comments on commit ca218a5

Please sign in to comment.