[vlc-devel] [PATCH] Use glEnable/glDisable with GL_TEXTURE_2D only for fixed pipeline(GLES 1.x)

Martin Storsjö martin at martin.st
Mon May 27 17:19:01 CEST 2013


On Mon, 27 May 2013, Gleb Pinigin wrote:

> ---
> modules/video_output/opengl.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)

This patch keeps these calls for desktop GL (which supports both shaders 
and fixed pipeline) as well, so what this does is just to disable it for 
ES2 builds.

The change itself looks ok, tested in a desktop gl environment and in two 
different GLES1/2 envs.

// Martin



More information about the vlc-devel mailing list