From: Derk-Jan Hartman Date: Thu, 9 Jun 2005 11:03:10 +0000 (+0000) Subject: * backport of [11368] X-Git-Tag: 0.8.2~71 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=72b03b2f15eaf5443e26ae2d287ba5e51fd8ae49;p=vlc * backport of [11368] --- diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c index d13112a888..a3091f2245 100644 --- a/modules/video_output/opengl.c +++ b/modules/video_output/opengl.c @@ -692,8 +692,8 @@ static int InitTextures( vout_thread_t *p_vout ) glTexParameteri( VLCGL_TARGET, GL_TEXTURE_MAG_FILTER, GL_LINEAR ); glTexParameteri( VLCGL_TARGET, GL_TEXTURE_MIN_FILTER, GL_LINEAR ); - glTexParameteri( VLCGL_TARGET, GL_TEXTURE_WRAP_S, GL_CLAMP ); - glTexParameteri( VLCGL_TARGET, GL_TEXTURE_WRAP_T, GL_CLAMP ); + glTexParameteri( VLCGL_TARGET, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE ); + glTexParameteri( VLCGL_TARGET, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE ); glTexEnvf( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE );