Unify copy_rect helpers.

Some of the copies were buggy.
This commit is contained in:
Michel Dänzer
2008-01-18 19:08:30 +01:00
parent 25e2b8d669
commit e44bdcf978
6 changed files with 118 additions and 143 deletions

View File

@@ -383,4 +383,13 @@ static INLINE int align(int value, int alignment)
*/
extern void _mesa_printf(const char *str, ...);
/* util/p_util.c
*/
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);
#endif