mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 16:18:01 +00:00
gl2shim: support low (<130) shaders
This commit is contained in:
parent
f85437dfc5
commit
6bad07b39d
@ -9,7 +9,9 @@ R"(
|
|||||||
#define in varying
|
#define in varying
|
||||||
#define texture texture2D
|
#define texture texture2D
|
||||||
#endif
|
#endif
|
||||||
|
#if version >= 130
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#if ATTR_TEXCOORD0
|
#if ATTR_TEXCOORD0
|
||||||
layout(location = 5) uniform sampler2D uTex0;
|
layout(location = 5) uniform sampler2D uTex0;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user