vlc | branch: master | Thomas Guillem <[email protected]> | Mon Aug 28 18:49:41 
2017 +0200| [76e0ad89fb6c0f8631cded3de087e91b2ac178ef] | committer: Thomas 
Guillem

gl: vertex shaders don't need precision specifiers

Only fragments shaders for GLES need a precision specifier.

Refs #18575

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=76e0ad89fb6c0f8631cded3de087e91b2ac178ef
---

 modules/video_output/opengl/vout_helper.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_output/opengl/vout_helper.c 
b/modules/video_output/opengl/vout_helper.c
index 646cac5529..a60f73a7eb 100644
--- a/modules/video_output/opengl/vout_helper.c
+++ b/modules/video_output/opengl/vout_helper.c
@@ -353,7 +353,6 @@ static GLuint BuildVertexShader(const 
opengl_tex_converter_t *tc,
     /* Basic vertex shader */
     static const char *template =
         "#version " GLSL_VERSION "\n"
-        PRECISION
         "varying vec2 TexCoord0;attribute vec4 MultiTexCoord0;"
         "%s%s"
         "attribute vec3 VertexPosition;"

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

Reply via email to