[vlc-devel] [PATCH 3/3] opengl: don't set Texture priority or ENV_MODE
Ilkka Ollakka
ileoo at videolan.org
Fri May 4 12:43:25 CEST 2012
---
modules/video_output/opengl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index 3460f9f..6a5ff9e 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -722,8 +722,8 @@ int vout_display_opengl_Prepare(vout_display_opengl_t *vgl,
} else {
glGenTextures(1, &glr->texture);
glBindTexture(GL_TEXTURE_2D, glr->texture);
- glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, 1.0);
- glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
+ //glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, 1.0);
+ //glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
--
1.7.9.2
More information about the vlc-devel
mailing list