cell: fix incorrect parameter type
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 14 Oct 2008 23:19:57 +0000 (17:19 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 14 Oct 2008 23:19:57 +0000 (17:19 -0600)
src/gallium/drivers/cell/spu/spu_texture.c
src/gallium/drivers/cell/spu/spu_texture.h

index 2570f02c730ba9af2620b60485bc48b43a4e2ca6..9e25094d13ce88b0e8a22f5394e59497dda25a94 100644 (file)
@@ -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};
index 08b891a4a86d4bc4568455180423c169d8da5ca7..387484c3ad381243a9863657d9c0bf41495bb9e0 100644 (file)
@@ -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]);