[vlc-commits] doc: sdl_opengl_player: don't use precision qualifier

Zhao Zhili git at videolan.org
Thu Aug 23 15:06:28 CEST 2018


vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Thu Aug 23 16:43:01 2018 +0800| [7abd50b55ad4323903a0333a056da5a8e55b3030] | committer: Thomas Guillem

doc: sdl_opengl_player: don't use precision qualifier

Fix fragment shader compilation error:
0:1(1): error: syntax error, unexpected NEW_IDENTIFIER

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 doc/libvlc/sdl_opengl_player.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/doc/libvlc/sdl_opengl_player.cpp b/doc/libvlc/sdl_opengl_player.cpp
index b36c4685f0..6858e1fba1 100644
--- a/doc/libvlc/sdl_opengl_player.cpp
+++ b/doc/libvlc/sdl_opengl_player.cpp
@@ -35,7 +35,6 @@ const GLchar* vertexSource =
     "}                             \n";
 
 const GLchar* fragmentSource =
-    "precision mediump float;      \n"
     "uniform sampler2D u_videotex; \n"
     "varying vec2 v_TexCoordinate; \n"
     "void main()                   \n"



More information about the vlc-commits mailing list