projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2458aba
)
cut and paste error: s/Width/Height/
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 14 Oct 2006 21:33:06 +0000
(21:33 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 14 Oct 2006 21:33:06 +0000
(21:33 +0000)
src/mesa/swrast/s_copypix.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_copypix.c
b/src/mesa/swrast/s_copypix.c
index 1a17b75c702641b1ca0eadf0de2226d275e5fdf4..ec04143214d5118845c4d2dfcd0a63a33673291b 100644
(file)
--- a/
src/mesa/swrast/s_copypix.c
+++ b/
src/mesa/swrast/s_copypix.c
@@
-860,7
+860,7
@@
fast_copy_pixels(GLcontext *ctx,
/* clipping not supported */
if (srcX < 0 || srcX + width > srcFb->Width ||
- srcY < 0 || srcY + height > srcFb->
Width
||
+ srcY < 0 || srcY + height > srcFb->
Height
||
dstX < dstFb->_Xmin || dstX + width > dstFb->_Xmax ||
dstY < dstFb->_Ymin || dstY + height > dstFb->_Ymax) {
return GL_FALSE;