Use GL_CLAMP_TO_EDGE for cap texture, so the cap is painted correctly.
svn path=/trunk/KDE/kdebase/workspace/; revision=846173
This commit is contained in:
parent
fe4c100195
commit
0d5e84df02
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ CubeEffect::CubeEffect()
|
|||
}
|
||||
capTexture = new GLTexture( img );
|
||||
capTexture->setFilter( GL_LINEAR );
|
||||
capTexture->setWrapMode( GL_CLAMP );
|
||||
capTexture->setWrapMode( GL_CLAMP_TO_EDGE );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue