projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6ac240
)
intel: Fix inverting of inversion test for windows in glClear cleanup.
author
Eric Anholt
<eric@anholt.net>
Sat, 30 Jan 2010 20:37:54 +0000
(12:37 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 30 Jan 2010 20:38:31 +0000
(12:38 -0800)
Bug #26290.
src/mesa/drivers/dri/intel/intel_blit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_blit.c
b/src/mesa/drivers/dri/intel/intel_blit.c
index f12a1c6fd392e04315ae85bdb9ae224c34546480..31d4f3d421b786b61f9e4fe44d902301f8bbad70 100644
(file)
--- 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;