mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 06:30:55 +00:00
Optimize EGLRenderer overlay texture swizzle
This commit is contained in:
@@ -4,9 +4,5 @@ uniform sampler2D uTexture;
|
|||||||
varying vec2 vTexCoord;
|
varying vec2 vTexCoord;
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
vec4 abgr = texture2D(uTexture, vTexCoord);
|
gl_FragColor = texture2D(uTexture, vTexCoord).bgra;
|
||||||
|
|
||||||
gl_FragColor = abgr;
|
|
||||||
gl_FragColor.r = abgr.b;
|
|
||||||
gl_FragColor.b = abgr.r;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user