gallium: pipe->surface_copy can flip the contents vertically when necessary.

Fixes gears being upside down on the box in demos/gearbox.
This commit is contained in:
Michel Dänzer
2008-02-13 11:39:58 +00:00
parent 4bb1a14d90
commit e922adbe1d
15 changed files with 28 additions and 11 deletions

View File

@@ -402,7 +402,7 @@ static INLINE int align(int value, int alignment)
extern void pipe_copy_rect(ubyte * dst, unsigned cpp, unsigned dst_pitch,
unsigned dst_x, unsigned dst_y, unsigned width,
unsigned height, const ubyte * src,
unsigned src_pitch, unsigned src_x, unsigned src_y);
int src_pitch, unsigned src_x, int src_y);
#endif