summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/savage/savageioctl.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2004-03-26 23:27:24 +0000
committerFelix Kuehling <[email protected]>2004-03-26 23:27:24 +0000
commit58fa2a8c5049b209b6bcaffe2530daea0314ef27 (patch)
tree95e5d3d15f10b2a07ace2e4a90525ccd9fbdfda1 /src/mesa/drivers/dri/savage/savageioctl.c
parent1e50e4046f6a85319ef33033d4b529345fd08ddd (diff)
Enable drawing directly to the (now tiled) front buffer.
Diffstat (limited to 'src/mesa/drivers/dri/savage/savageioctl.c')
-rw-r--r--src/mesa/drivers/dri/savage/savageioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/savage/savageioctl.c b/src/mesa/drivers/dri/savage/savageioctl.c
index 1384ce6099a..c5d234b37a1 100644
--- a/src/mesa/drivers/dri/savage/savageioctl.c
+++ b/src/mesa/drivers/dri/savage/savageioctl.c
@@ -71,7 +71,7 @@ static void savage_BCI_clear(GLcontext *ctx, drm_savage_clear_t *pclear)
pbox->y2 > imesa->savageScreen->height)
continue;
- if ( (pclear->flags & SAVAGE_FRONT) && imesa->IsFullScreen) {
+ if ( pclear->flags & SAVAGE_FRONT ) {
bciptr = savageDMAAlloc (imesa, 8);
WRITE_CMD((bciptr) , 0x4BCC8C00,uint32_t);
WRITE_CMD((bciptr) , imesa->savageScreen->frontOffset,uint32_t);
@@ -81,7 +81,7 @@ static void savage_BCI_clear(GLcontext *ctx, drm_savage_clear_t *pclear)
WRITE_CMD((bciptr) , (height << 16) | width,uint32_t);
savageDMACommit (imesa, bciptr);
}
- else if ( pclear->flags & (SAVAGE_BACK|SAVAGE_FRONT) ) {
+ if ( pclear->flags & SAVAGE_BACK ) {
bciptr = savageDMAAlloc (imesa, 8);
WRITE_CMD((bciptr) , 0x4BCC8C00,uint32_t);
WRITE_CMD((bciptr) , imesa->savageScreen->backOffset,uint32_t);