projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e7785f
)
intel: don't clip to scissor-clipped read framebuffer bounds in copypixels.
author
Eric Anholt
<eric@anholt.net>
Thu, 18 Dec 2008 05:18:00 +0000
(21:18 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 19 Dec 2008 21:04:23 +0000
(13:04 -0800)
src/mesa/drivers/dri/intel/intel_pixel_copy.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_pixel_copy.c
b/src/mesa/drivers/dri/intel/intel_pixel_copy.c
index 61d1296c26c0d17dee5e7bd5eb4793c82a17b37b..1505af22864e7a1f9680e19f6cdbdadb8d29e982 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_pixel_copy.c
+++ b/
src/mesa/drivers/dri/intel/intel_pixel_copy.c
@@
-308,8
+308,8
@@
do_blit_copypixels(GLcontext * ctx,
/* Clip to source buffer. */
orig_srcx = srcx;
orig_srcy = srcy;
- if (!_mesa_clip_to_region(
read_fb->_Xmin, read_fb->_Ymin
,
- read_fb->
_Xmax, read_fb->_Ymax
,
+ if (!_mesa_clip_to_region(
0, 0
,
+ read_fb->
Width, read_fb->Height
,
&srcx, &srcy, &width, &height))
goto out;
/* Adjust dst coords for our post-clipped source origin */