projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
038cb56
)
don't use scissored bounds in _mesa_clip_copytexsubimage()
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 27 Sep 2007 00:34:13 +0000
(18:34 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 27 Sep 2007 00:34:13 +0000
(18:34 -0600)
src/mesa/main/image.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index ae3c82b8101c6443eb5ec5eb78ef7cd95aebb865..76e105e65ee3f4b5580e2adfac309742716a40f8 100644
(file)
--- a/
src/mesa/main/image.c
+++ b/
src/mesa/main/image.c
@@
-4641,7
+4641,7
@@
_mesa_clip_copytexsubimage(const GLcontext *ctx,
const struct gl_framebuffer *fb = ctx->ReadBuffer;
const GLint srcX0 = *srcX, srcY0 = *srcY;
- if (_mesa_clip_to_region(
fb->_Xmin, fb->_Ymin, fb->_Xmax, fb->_Ymax
,
+ if (_mesa_clip_to_region(
0, 0, fb->Width, fb->Height
,
srcX, srcY, width, height)) {
*destX = *destX + *srcX - srcX0;
*destY = *destY + *srcY - srcY0;