gl2shim: support low (<130) shaders
This commit is contained in:
parent
f85437dfc5
commit
6bad07b39d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue