Arghl, this is not static const, it changes.

svn path=/trunk/KDE/kdebase/workspace/; revision=689136
remotes/origin/Plasma/5.0
Luboš Luňák 19 years ago
parent f1108dd13a
commit ea944065c7
  1. 2
      scene_opengl.cpp

@ -848,7 +848,7 @@ bool SceneOpenGL::Texture::load( const Pixmap& pix, const QSize& size,
// updates automatically - no need to do anything in such case
if( bound_glxpixmap == None )
{
static const int attrs[] =
int attrs[] =
{
GLX_TEXTURE_FORMAT_EXT, fbcdrawableinfo[ depth ].bind_texture_format,
GLX_MIPMAP_TEXTURE_EXT, fbcdrawableinfo[ depth ].mipmap,

Loading…
Cancel
Save