summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-09-26 18:34:13 -0600
committerBrian <[email protected]>2007-09-26 18:34:13 -0600
commitfcd4eeb743c717d48166e38a57fcd4a1752e32ab (patch)
treea95d7cfade6af5b1e13bd255ec953621ca36627a
parent038cb561eb094af2f2ba06e18e61246fc0c87c3c (diff)
don't use scissored bounds in _mesa_clip_copytexsubimage()
-rw-r--r--src/mesa/main/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index ae3c82b8101..76e105e65ee 100644
--- 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;