summaryrefslogtreecommitdiffstats
path: root/tests/playground/externalsampler_gles.frag
blob: 1bb8f19e79eed8a208c090fe16ea5ad5038cad13 (plain)
1
2
3
4
5
6
7
8
9
#extension GL_OES_EGL_image_external : require

varying highp vec2 textureCoords;
uniform samplerExternalOES frameTexture;

void main()
{
    gl_FragColor = texture2D(frameTexture, textureCoords).bgra;
}