[vlc-devel] [PATCH 4/4] sdl_opengl_player: don't use precision qualifier

Zhao Zhili quinkblack at foxmail.com
Thu Aug 23 10:43:01 CEST 2018


Fix fragment shader compilation error:
0:1(1): error: syntax error, unexpected NEW_IDENTIFIER
---
 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 b36c468..6858e1f 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"
-- 
2.9.5





More information about the vlc-devel mailing list