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:
@@ -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
|
||||
|
Reference in New Issue
Block a user