mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
st/xlib: Fix upside down coordinates for CopySubBuffer
The coordinates need to be inverted between glX and gallium. NOTE: This is a candidate for stable release branches. Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
3c21a7d3c9
commit
4e5416b0e2
1 changed files with 1 additions and 1 deletions
|
|
@ -1255,7 +1255,7 @@ void XMesaCopySubBuffer( XMesaBuffer b, int x, int y, int width, int height )
|
|||
{
|
||||
xmesa_copy_st_framebuffer(b->stfb,
|
||||
ST_ATTACHMENT_BACK_LEFT, ST_ATTACHMENT_FRONT_LEFT,
|
||||
x, y, width, height);
|
||||
x, b->height - y - height, width, height);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue