Set OpenGL decoration texture wrap mode to GL_CLAMP_TO_EDGE. Removes
halo effect during window scaling. svn path=/trunk/KDE/kdebase/workspace/; revision=980162
This commit is contained in:
parent
8d09ed341a
commit
d2e10a529f
1 changed files with 1 additions and 0 deletions
|
@ -1552,6 +1552,7 @@ void SceneOpenGL::Window::paintDecoration( const QPixmap* decoration, TextureTyp
|
|||
}
|
||||
else
|
||||
decorationTexture->setFilter( GL_NEAREST );
|
||||
decorationTexture->setWrapMode( GL_CLAMP_TO_EDGE );
|
||||
decorationTexture->bind();
|
||||
decorationTexture->enableUnnormalizedTexCoords();
|
||||
|
||||
|
|
Loading…
Reference in a new issue