s/GLuint/int/ to silence warnings
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 23:41:37 +0000 (23:41 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 23:41:37 +0000 (23:41 +0000)
src/mesa/drivers/dri/radeon/radeon_texstate.c

index cfa8d4c9fa2b29a95871245adb7e5e2cc8c5b821..37bb749223a09abec1f3dc7b2844dcc0e3732937 100644 (file)
@@ -865,7 +865,7 @@ static void import_tex_obj_state( radeonContextPtr rmesa,
                                  radeonTexObjPtr texobj )
 {
 /* do not use RADEON_DB_STATE to avoid stale texture caches */
-   GLuint *cmd = &rmesa->hw.tex[unit].cmd[TEX_CMD_0];
+   int *cmd = &rmesa->hw.tex[unit].cmd[TEX_CMD_0];
    GLuint se_coord_fmt = rmesa->hw.set.cmd[SET_SE_COORDFMT];
 
    RADEON_STATECHANGE( rmesa, tex[unit] );
@@ -888,7 +888,7 @@ static void import_tex_obj_state( radeonContextPtr rmesa,
       se_coord_fmt &= ~(RADEON_VTX_ST0_NONPARAMETRIC << unit);
 
       if (texobj->base.tObj->Target == GL_TEXTURE_CUBE_MAP) {
-        GLuint *cube_cmd = &rmesa->hw.cube[unit].cmd[CUBE_CMD_0];
+        int *cube_cmd = &rmesa->hw.cube[unit].cmd[CUBE_CMD_0];
         GLuint bytesPerFace = texobj->base.totalSize / 6;
         ASSERT(texobj->base.totalSize % 6 == 0);