[vlc-commits] gl: VLCGL_PICTURE_MAX doesn't depend on GL version

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


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Aug 28 18:11:54 2017 +0200| [bb16e5d1599fa981a6887ac25674e8e1e0fd93c1] | committer: Thomas Guillem

gl: VLCGL_PICTURE_MAX doesn't depend on GL version

Refs #18575

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

 modules/video_output/opengl/internal.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/opengl/internal.h b/modules/video_output/opengl/internal.h
index 53712c8532..1e92bb84c9 100644
--- a/modules/video_output/opengl/internal.h
+++ b/modules/video_output/opengl/internal.h
@@ -23,14 +23,14 @@
 
 #include "vout_helper.h"
 
+#define VLCGL_PICTURE_MAX 128
+
 #if defined(USE_OPENGL_ES2)
 #   define GLSL_VERSION "100"
 #   define PRECISION "precision highp float;"
-#   define VLCGL_PICTURE_MAX 128
 #   define VLCGL_HAS_PBO /* PBO present as an OpenGlES 2 extension */
 #else
 #   define GLSL_VERSION "120"
-#   define VLCGL_PICTURE_MAX 128
 #   ifdef GL_VERSION_2_0
 #       define VLCGL_HAS_PBO
 #   endif



More information about the vlc-commits mailing list