[vlc-commits] [Git][videolan/vlc][master] opengl: fix invalid shader source code
    Hugo Beauzée-Luyssen (@chouquette) 
    gitlab at videolan.org
       
    Mon Oct 11 10:43:33 UTC 2021
    
    
  
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
c48ae8f9 by Zhao Zhili at 2021-10-11T10:10:28+00:00
opengl: fix invalid shader source code
vout_macosx generic error: shader: ERROR: 0:7: ';' : syntax error: syntax error
- - - - -
1 changed file:
- modules/video_output/opengl/sampler.c
Changes:
=====================================
modules/video_output/opengl/sampler.c
=====================================
@@ -968,7 +968,7 @@ opengl_fragment_shader_init(struct vlc_gl_sampler *sampler, GLenum tex_target,
             if (tex_target == GL_TEXTURE_RECTANGLE)
             {
                 /* The coordinates are in texels values, not normalized */
-                ADDF("  %s(Textures[%u], TexSizes[%u] * tex_coords).%s;\n", lookup, i, i, swizzle);
+                ADDF("  %s(Textures[%u], TexSizes[%u] * tex_coords).%s,\n", lookup, i, i, swizzle);
             }
             else
             {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c48ae8f991e7e4f5d29741db111c7def5253033c
-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c48ae8f991e7e4f5d29741db111c7def5253033c
You're receiving this email because of your account on code.videolan.org.
    
    
More information about the vlc-commits
mailing list