Commit ec65d2e2 authored by Thomas Guillem's avatar Thomas Guillem

vout: opengl: increase picture max for gles2

This restriction was here because gles1 devices didn't have much memory, but
it's not the case (anymore) for gles2 devices.
parent e92e785b
......@@ -79,12 +79,13 @@
#if USE_OPENGL_ES
# define GLSL_VERSION "100"
# define VLCGL_TEXTURE_COUNT 1
# define VLCGL_PICTURE_MAX 1
# define PRECISION "precision highp float;"
#if USE_OPENGL_ES == 2
# define VLCGL_PICTURE_MAX 128
# define SUPPORTS_SHADERS
# define glClientActiveTexture(x)
#else
# define VLCGL_PICTURE_MAX 1
# define SUPPORTS_FIXED_PIPELINE
# define GL_MAX_TEXTURE_IMAGE_UNITS GL_MAX_TEXTURE_UNITS
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment