diff options
author | Felix Kuehling <[email protected]> | 2004-03-26 23:27:24 +0000 |
---|---|---|
committer | Felix Kuehling <[email protected]> | 2004-03-26 23:27:24 +0000 |
commit | 58fa2a8c5049b209b6bcaffe2530daea0314ef27 (patch) | |
tree | 95e5d3d15f10b2a07ace2e4a90525ccd9fbdfda1 /src/mesa/drivers/dri/savage/savageioctl.c | |
parent | 1e50e4046f6a85319ef33033d4b529345fd08ddd (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.c | 4 |
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); |