diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2006-10-03 09:17:17 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2006-10-03 09:17:17 +0000 |
commit | 9f78ca8dbc1ab78406f47d1cbcc82cba96dadc66 (patch) | |
tree | 9da669b4da81e65a312f1174736a292209077b29 | |
parent | 9b87fafc911ad823dbd0279522c084b7e88fab3e (diff) |
Fix typo defining clear rectangle for FBO clears.
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_blit.c b/src/mesa/drivers/dri/i915/intel_blit.c index af2f60312f..77a6c3ca39 100644 --- a/src/mesa/drivers/dri/i915/intel_blit.c +++ b/src/mesa/drivers/dri/i915/intel_blit.c @@ -447,7 +447,7 @@ intelClearWithBlit(GLcontext * ctx, GLbitfield mask, GLboolean all, ASSERT(intel->pClipRects == &intel->fboRect); clear.x1 = cx; clear.y1 = intel->ctx.DrawBuffer->Height - cy - ch; - clear.x2 = clear.y1 + cw; + clear.x2 = clear.x1 + cw; clear.y2 = clear.y1 + ch; /* no change to mask */ } |