diff options
author | Brian Paul <[email protected]> | 2008-10-14 17:19:57 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-10-14 17:19:57 -0600 |
commit | e42a394ed5ca00a9d0a51a0c26d4fef9959ba43c (patch) | |
tree | 6d38860a91ce6ebbb762f21743e55e273b16fa93 /src/gallium | |
parent | 8f7c6b55ae962e30f32cfec9a14a652d3b5b5943 (diff) |
cell: fix incorrect parameter type
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_texture.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_texture.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_texture.c b/src/gallium/drivers/cell/spu/spu_texture.c index 2570f02c730..9e25094d13c 100644 --- a/src/gallium/drivers/cell/spu/spu_texture.c +++ b/src/gallium/drivers/cell/spu/spu_texture.c @@ -552,7 +552,7 @@ choose_cube_face(float rx, float ry, float rz, float *newS, float *newT) void sample_texture4_cube(vector float s, vector float t, vector float r, vector float q, - uint unit, uint level, int face_ignored, + uint unit, uint level, uint face_ignored, vector float colors[4]) { static const vector float zero = {0.0f, 0.0f, 0.0f, 0.0f}; diff --git a/src/gallium/drivers/cell/spu/spu_texture.h b/src/gallium/drivers/cell/spu/spu_texture.h index 08b891a4a86..387484c3ad3 100644 --- a/src/gallium/drivers/cell/spu/spu_texture.h +++ b/src/gallium/drivers/cell/spu/spu_texture.h @@ -66,7 +66,7 @@ sample_texture4_lod(vector float s, vector float t, extern void sample_texture4_cube(vector float s, vector float t, vector float r, vector float q, - uint unit, uint level_ignored, int face_ignored, + uint unit, uint level_ignored, uint face_ignored, vector float colors[4]); |