[vlc-commits] gl: vertex shaders don't need precision specifiers

Thomas Guillem git at videolan.org
Wed Aug 30 13:54:08 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | 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;"



More information about the vlc-commits mailing list