Browse Source

gl2shim: support low (<130) shaders

pull/2/head
mittorn 1 year ago committed by Alibek Omarov
parent
commit
6bad07b39d
  1. 2
      ref/gl/gl2_shim/fragment.glsl.inc

2
ref/gl/gl2_shim/fragment.glsl.inc

@ -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…
Cancel
Save