view/renderer: simplify fragment shader

This commit is contained in:
Matthias Schiffer 2018-10-31 00:32:21 +01:00
parent 7b9d467386
commit a86a80e402
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

View file

@ -1,8 +1,10 @@
varying highp vec2 vTextureCoord; precision highp float;
varying vec2 vTextureCoord;
uniform sampler2D uSampler; uniform sampler2D uSampler;
void main(void) { void main(void) {
gl_FragColor = texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)); gl_FragColor = texture2D(uSampler, vTextureCoord);
} }