wayvnc/shaders/dmabuf-fragment.glsl

13 lines
196 B
Plaintext
Raw Normal View History

2019-10-27 22:22:43 +00:00
#extension GL_OES_EGL_image_external: require
precision mediump float;
2020-03-25 20:26:15 +00:00
uniform samplerExternalOES u_tex0;
2019-10-27 22:22:43 +00:00
varying vec2 v_texture;
void main()
{
2020-03-25 20:26:15 +00:00
gl_FragColor = texture2D(u_tex0, v_texture);
2019-10-27 22:22:43 +00:00
}