We need NPOT textures.
BUG: 155833 svn path=/trunk/KDE/kdebase/workspace/; revision=762709
This commit is contained in:
parent
cef15afe8a
commit
caf1627047
1 changed files with 6 additions and 1 deletions
|
@ -134,9 +134,14 @@ SceneOpenGL::SceneOpenGL( Workspace* ws )
|
|||
return; // error
|
||||
if( !initRenderingContext())
|
||||
return; // error
|
||||
|
||||
// Initialize OpenGL
|
||||
initGL();
|
||||
if( !hasGLExtension( "GL_ARB_texture_non_power_of_two" )
|
||||
&& !hasGLExtension( "GL_ARB_texture_rectangle" ))
|
||||
{
|
||||
kdWarning( 1212 ) << "GL_ARB_texture_non_power_of_two and GL_ARB_texture_rectangle missing";
|
||||
return; // error
|
||||
}
|
||||
if( db )
|
||||
glDrawBuffer( GL_BACK );
|
||||
// Check whether certain features are supported
|
||||
|
|
Loading…
Reference in a new issue