summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Lankhorst <dev@mblankhorst.nl>2015-03-23 19:41:38 +0100
committerMaarten Lankhorst <dev@mblankhorst.nl>2015-03-23 19:41:38 +0100
commit5439a9905eab8c8d0f86e9963df6c893633bdbfd (patch)
tree3c3c1994aea8f1804438622f217fd01c86d5fc1b
parentf0fdc156039eaa79fb1ad82fcc6437f2432306c6 (diff)
Actually do a clear instead of doing a bogus copy.
Oops!
-rw-r--r--src/drmmode_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index db79e88..7c1d2bb 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -410,11 +410,11 @@ drmmode_fbcon_copy(ScreenPtr pScreen)
fallback:
if (pdpix) {
- pNv->EXADriverPtr->PrepareSolid(pdpix, GXcopy, ~0, 0);
+ pNv->EXADriverPtr->PrepareSolid(pdpix, GXclear, ~0, 0);
pNv->EXADriverPtr->Solid(pdpix, 0, 0, w, h);
pNv->EXADriverPtr->DoneSolid(pdpix);
- pScreen->DestroyPixmap(pdpix);
nouveau_bo_wait(pNv->scanout, NOUVEAU_BO_RDWR, pNv->client);
+ pScreen->DestroyPixmap(pdpix);
return;
}
#endif