gl2shim: support low (<130) shaders

This commit is contained in:
mittorn 2023-10-06 01:17:50 +03:00 committed by Alibek Omarov
parent f85437dfc5
commit 6bad07b39d
1 changed files with 2 additions and 0 deletions

View File

@ -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