summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/spu
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-10-14 17:19:57 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-10-14 17:19:57 -0600
commite42a394ed5ca00a9d0a51a0c26d4fef9959ba43c (patch)
tree6d38860a91ce6ebbb762f21743e55e273b16fa93 /src/gallium/drivers/cell/spu
parent8f7c6b55ae962e30f32cfec9a14a652d3b5b5943 (diff)
cell: fix incorrect parameter type
Diffstat (limited to 'src/gallium/drivers/cell/spu')
-rw-r--r--src/gallium/drivers/cell/spu/spu_texture.c2
-rw-r--r--src/gallium/drivers/cell/spu/spu_texture.h2
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 2570f02c73..9e25094d13 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 08b891a4a8..387484c3ad 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]);