src/opengl/qpaintengine_opengl.cpp
changeset 25 e24348a560a6
parent 18 2f34d5167611
child 30 5dc02b23752f
equal deleted inserted replaced
23:89e065397ea6 25:e24348a560a6
  1451     }
  1451     }
  1452 #endif
  1452 #endif
  1453     d->device->endPaint();
  1453     d->device->endPaint();
  1454     qt_mask_texture_cache()->maintainCache();
  1454     qt_mask_texture_cache()->maintainCache();
  1455 
  1455 
       
  1456 #if defined(Q_WS_X11)
       
  1457     // clear out the references we hold for textures bound with the
       
  1458     // texture_from_pixmap extension
       
  1459     ctx->d_func()->boundPixmaps.clear();
       
  1460 #endif
  1456     return true;
  1461     return true;
  1457 }
  1462 }
  1458 
  1463 
  1459 void QOpenGLPaintEngine::updateState(const QPaintEngineState &state)
  1464 void QOpenGLPaintEngine::updateState(const QPaintEngineState &state)
  1460 {
  1465 {