diff options
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_blit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_blit.c b/src/mesa/drivers/dri/intel/intel_blit.c index f12a1c6fd39..31d4f3d421b 100644 --- a/src/mesa/drivers/dri/intel/intel_blit.c +++ b/src/mesa/drivers/dri/intel/intel_blit.c @@ -229,9 +229,9 @@ intelClearWithBlit(GLcontext *ctx, GLbitfield mask) cx = fb->_Xmin; if (fb->Name == 0) - cy = fb->_Ymin; - else cy = ctx->DrawBuffer->Height - fb->_Ymax; + else + cy = fb->_Ymin; cw = fb->_Xmax - fb->_Xmin; ch = fb->_Ymax - fb->_Ymin; |