Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
5ebfb251 by Maxime Chapelet at 2023-09-12T09:55:07+00:00
vout: opengl: fix var storage qualifier in renderer fragment shader

It fixes a GLSL storage qualifier issue introduced by a change in e67f66ca

Here `varying` storage qualifier has to be used in order to compile properly 
and get the value passed from the vertex shader

- - - - -


1 changed file:

- modules/video_output/opengl/renderer.c


Changes:

=====================================
modules/video_output/opengl/renderer.c
=====================================
@@ -203,7 +203,7 @@ opengl_link_program(struct vlc_gl_filter *filter)
     static const char *const FRAGMENT_SHADER_BODY =
         "#if __VERSION__ < 300\n"
           "#define FragColor gl_FragColor\n"
-          "attribute vec2 PicCoords;\n"
+          "varying vec2 PicCoords;\n"
         "#else\n"
           "in vec2 PicCoords;\n"
           "out vec4 FragColor;\n"



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

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/5ebfb251661d7587031261312154982d5acadafb
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to