mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 14:45:58 +01:00
Fix external shader
This commit is contained in:
parent
2d6d2bcef9
commit
f066ff6d02
1 changed files with 2 additions and 2 deletions
|
@ -94,9 +94,9 @@ const GLchar fragment_src_rgbx[] =
|
||||||
const GLchar fragment_src_external[] =
|
const GLchar fragment_src_external[] =
|
||||||
"#extension GL_OES_EGL_image_external : require\n"
|
"#extension GL_OES_EGL_image_external : require\n"
|
||||||
"precision mediump float;"
|
"precision mediump float;"
|
||||||
|
"varying vec2 v_texcoord;"
|
||||||
"uniform samplerExternalOES texture0;"
|
"uniform samplerExternalOES texture0;"
|
||||||
"varying vec2 v_uv;"
|
|
||||||
"void main() {"
|
"void main() {"
|
||||||
" vec4 col = texture2D(texture0, v_uv);"
|
" vec4 col = texture2D(texture0, v_texcoord);"
|
||||||
" gl_FragColor = vec4(col.rgb, col.a);"
|
" gl_FragColor = vec4(col.rgb, col.a);"
|
||||||
"}";
|
"}";
|
||||||
|
|
Loading…
Reference in a new issue