]> git.sesse.net Git - vlc/commitdiff
* backport of [11368]
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 9 Jun 2005 11:03:10 +0000 (11:03 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 9 Jun 2005 11:03:10 +0000 (11:03 +0000)
modules/video_output/opengl.c

index d13112a888ea21be05cb9543ea3a61e9f7b44240..a3091f2245ab23b3082dcea50883acecf9ca53bc 100644 (file)
@@ -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 );