diff options
author | Maarten Lankhorst <dev@mblankhorst.nl> | 2015-03-23 19:41:38 +0100 |
---|---|---|
committer | Maarten Lankhorst <dev@mblankhorst.nl> | 2015-03-23 19:41:38 +0100 |
commit | 5439a9905eab8c8d0f86e9963df6c893633bdbfd (patch) | |
tree | 3c3c1994aea8f1804438622f217fd01c86d5fc1b /src | |
parent | f0fdc156039eaa79fb1ad82fcc6437f2432306c6 (diff) |
Actually do a clear instead of doing a bogus copy.
Oops!
Diffstat (limited to 'src')
-rw-r--r-- | src/drmmode_display.c | 4 |
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 |