mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 12:50:25 +01:00
st/glx: Fix glXCopySubBufferMESA.
Honor the (x, y) and (width, height) pairs.
This commit is contained in:
parent
d6262bdcfb
commit
23e9a25e1f
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ xmesa_st_framebuffer_copy_textures(struct st_framebuffer_iface *stfbi,
|
|||
dst_ptex, 0, 0, 0, PIPE_BUFFER_USAGE_GPU_WRITE);
|
||||
|
||||
if (src && dst)
|
||||
pipe->surface_copy(pipe, dst, 0, 0, src, 0, 0, src->width, src->height);
|
||||
pipe->surface_copy(pipe, dst, x, y, src, x, y, width, height);
|
||||
|
||||
pipe_surface_reference(&src, NULL);
|
||||
pipe_surface_reference(&dst, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue