[vlc-commits] [Git][videolan/vlc][master] qt: fix inverted z/w in RectFilter.frag

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat May 25 06:49:20 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
a57993ce by Fatih Uzunoglu at 2024-05-25T06:31:29+00:00
qt: fix inverted z/w in RectFilter.frag

- - - - -


1 changed file:

- modules/gui/qt/shaders/RectFilter.frag


Changes:

=====================================
modules/gui/qt/shaders/RectFilter.frag
=====================================
@@ -30,8 +30,8 @@ layout(binding = 1) uniform sampler2D source;
 
 
 void main() {
-    if (((qt_TexCoord0.x >= discardRect.x && qt_TexCoord0.x <= discardRect.w) &&
-        (qt_TexCoord0.y >= discardRect.y && qt_TexCoord0.y <= discardRect.z)))
+    if (((qt_TexCoord0.x >= discardRect.x && qt_TexCoord0.x <= discardRect.z) &&
+        (qt_TexCoord0.y >= discardRect.y && qt_TexCoord0.y <= discardRect.w)))
         discard;
 
     highp vec4 texel = texture(source, qt_TexCoord0);



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a57993cede06eb836d474d7db87e33cfb09f56cb

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a57993cede06eb836d474d7db87e33cfb09f56cb
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list