diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2008-02-13 11:39:58 +0000 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2008-02-13 11:39:58 +0000 |
commit | e922adbe1d6c1764968377658ea92ae6de0585db (patch) | |
tree | 7260e77f9696a8752d3800a0a616b8f461d4d871 /src/mesa/pipe/xlib | |
parent | 4bb1a14d901fcddb25efeeff49c4dea8ca872f73 (diff) |
gallium: pipe->surface_copy can flip the contents vertically when necessary.
Fixes gears being upside down on the box in demos/gearbox.
Diffstat (limited to 'src/mesa/pipe/xlib')
-rw-r--r-- | src/mesa/pipe/xlib/xm_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/xlib/xm_api.c b/src/mesa/pipe/xlib/xm_api.c index 03985eab5a..e5fef1d7a8 100644 --- a/src/mesa/pipe/xlib/xm_api.c +++ b/src/mesa/pipe/xlib/xm_api.c @@ -1229,6 +1229,7 @@ void XMesaCopySubBuffer( XMesaBuffer b, int x, int y, int width, int height ) return; pipe->surface_copy(pipe, + FALSE, surf_front, x, y, /* dest */ surf_back, x, y, /* src */ width, height); |