mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 12:40:23 +01:00
intel: don't clip to scissor-clipped read framebuffer bounds in copypixels.
This commit is contained in:
parent
1e7785fe07
commit
d091ebd4e4
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue