summaryrefslogtreecommitdiff
path: root/src/savage_dri.c
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2005-02-05 23:57:17 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2005-02-05 23:57:17 +0000
commite1f269bfd24195e96bf6194911430ffc7de4431f (patch)
tree3ac3f985eb6755fd520397b60a00d99a574be72d /src/savage_dri.c
parent9ae75471d246302a79994bdc71ae7e6a3915b609 (diff)
Don't clear the front buffer in SAVAGEDRIInitBuffers. Fixes blackness of
GL-XScreensaver hacks that grab the screen.
Diffstat (limited to 'src/savage_dri.c')
-rw-r--r--src/savage_dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_dri.c b/src/savage_dri.c
index 85c4a99..382b941 100644
--- a/src/savage_dri.c
+++ b/src/savage_dri.c
@@ -1643,7 +1643,7 @@ SAVAGEDRIInitBuffers(WindowPtr pWin, RegionPtr prgn, CARD32 index)
}
cmd[0].clear0.cmd = SAVAGE_CMD_CLEAR;
- cmd[0].clear0.flags = SAVAGE_FRONT|SAVAGE_BACK|SAVAGE_DEPTH;
+ cmd[0].clear0.flags = SAVAGE_BACK|SAVAGE_DEPTH;
cmd[1].clear1.mask = 0xffffffff;
cmd[1].clear1.value = 0;