diff options
author | Alan Hourihane <[email protected]> | 2005-01-13 10:20:16 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2005-01-13 10:20:16 +0000 |
commit | db93e6165e437ca76c4fecd238e0243c1472a42e (patch) | |
tree | c441e77d5ae2d86f7e0ef182bcae67c9954db175 /src/mesa/drivers/dri/unichrome/via_ioctl.c | |
parent | d4330fc3223c9809042b3102b3e1551ca58dd404 (diff) |
Fix glean scissor test
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_ioctl.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_ioctl.c b/src/mesa/drivers/dri/unichrome/via_ioctl.c index efb7cf6b6cf..c7b616f4057 100644 --- a/src/mesa/drivers/dri/unichrome/via_ioctl.c +++ b/src/mesa/drivers/dri/unichrome/via_ioctl.c @@ -665,10 +665,10 @@ void viaFlushDmaLocked(viaContextPtr vmesa, GLuint flags) b.y1 = pbox[i].y1 - vmesa->drawY; b.y2 = pbox[i].y2 - vmesa->drawY; - if (vmesa->glCtx->Scissor.Enabled && + if (vmesa->scissor && !intersect_rect(&b, &b, &vmesa->scissorRect)) continue; - + b.x1 += vmesa->drawXoff; b.x2 += vmesa->drawXoff; |