mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 21:00:22 +01:00
gallium/util: make src_y unsigned like the other x/y params
This commit is contained in:
parent
8081c1eaa5
commit
f39bae8e68
2 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ util_copy_rect(ubyte * dst,
|
|||
const ubyte * src,
|
||||
int src_stride,
|
||||
unsigned src_x,
|
||||
int src_y)
|
||||
unsigned src_y)
|
||||
{
|
||||
unsigned i;
|
||||
int src_stride_pos = src_stride < 0 ? -src_stride : src_stride;
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ extern void
|
|||
util_copy_rect(ubyte * dst, enum pipe_format format,
|
||||
unsigned dst_stride, unsigned dst_x, unsigned dst_y,
|
||||
unsigned width, unsigned height, const ubyte * src,
|
||||
int src_stride, unsigned src_x, int src_y);
|
||||
int src_stride, unsigned src_x, unsigned src_y);
|
||||
|
||||
extern void
|
||||
util_fill_rect(ubyte * dst, enum pipe_format format,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue