Parcourir la source

gallium: Silence compiler warnings on Windows.

tags/mesa_20090313
Michal Krol il y a 17 ans
Parent
révision
95438727dd
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      src/gallium/auxiliary/util/u_tile.c

+ 2
- 2
src/gallium/auxiliary/util/u_tile.c Voir le fichier

@@ -460,7 +460,7 @@ l8_put_tile_rgba(ubyte *dst,
for (j = 0; j < w; j++, pRow += 4) {
unsigned r;
r = float_to_ubyte(pRow[0]);
*dst++ = r;
*dst++ = (ubyte) r;
}
p += src_stride;
}
@@ -634,7 +634,7 @@ i8_put_tile_rgba(ubyte *dst,
for (j = 0; j < w; j++, pRow += 4) {
unsigned r;
r = float_to_ubyte(pRow[0]);
*dst++ = r;
*dst++ = (ubyte) r;
}
p += src_stride;
}

Chargement…
Annuler
Enregistrer