diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-12-05 09:07:30 +0100 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-12-05 09:07:30 +0100 |
commit | 610139085223bf210740393cf72ba02340b38097 (patch) | |
tree | 688d4818447ba5a512ce445c089694925ff392ac /src/graphicsitems/qximagebase.cpp | |
parent | ba9d5b8be115adedae5d321ccb40fa84120512ab (diff) |
Delay the ready signal a bit to give upload more time on Mac
Since we don't get a signal from GL that the texture is indeed
uploaded, try assing a short wait for bigger images...
Diffstat (limited to 'src/graphicsitems/qximagebase.cpp')
-rw-r--r-- | src/graphicsitems/qximagebase.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphicsitems/qximagebase.cpp b/src/graphicsitems/qximagebase.cpp index e826f5c..416e242 100644 --- a/src/graphicsitems/qximagebase.cpp +++ b/src/graphicsitems/qximagebase.cpp @@ -194,6 +194,7 @@ void QxImageBase::requestFinished() if (d->texture) { delete d->texture; + d->texture = 0; } TextureManager *tm = QSGContext::current->textureManager(); @@ -222,8 +223,9 @@ void QxImageBase::textureStatusChanged(int status) emit statusChanged(d->status); } - if (d->texture) + if (d->texture) { pixmapChange(); + } } |