summaryrefslogtreecommitdiff
path: root/hw/xgl
diff options
context:
space:
mode:
authorFredrik Höglund <fredrik@kde.org>2007-08-18 19:02:18 +0200
committerEric Anholt <eric@anholt.net>2007-08-23 12:21:24 -0700
commitdd33e936b39d1c5229353d3f25c47e3b87de8498 (patch)
treed09632c6eb990a8ddaeb2a73c2e6037f92929e76 /hw/xgl
parentec126e29e4a270577bba6337ed6f4ec8dbce46f9 (diff)
EXA: Fix a couple of logic errors in exaGetPixmapFirstPixel.
The fb pointer would be left uninitialized when exaPixmapIsOffscreen returned false. When it returned true and the pixmap was damaged, fb would be initialized from the pixmap's devPrivate.ptr before the exaDoMigration and exaPrepareAccess calls, at which point devPrivate.ptr would still be pointing at offscreen memory. (cherry picked from commit 3c448b0eb67337b56641e09a6d168aad6745e3ef)
Diffstat (limited to 'hw/xgl')
0 files changed, 0 insertions, 0 deletions