From: Michel Dänzer Date: Thu, 14 Sep 2006 16:17:06 +0000 (+0000) Subject: Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c9366a807b1b61e622831580bfbdc356af6a2af;p=mesa.git Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian. --- diff --git a/src/mesa/drivers/dri/r300/r300_maos.c b/src/mesa/drivers/dri/r300/r300_maos.c index 5cbdab8d70a..2fdad519fd5 100644 --- a/src/mesa/drivers/dri/r300/r300_maos.c +++ b/src/mesa/drivers/dri/r300/r300_maos.c @@ -503,7 +503,6 @@ int r300EmitArrays(GLcontext *ctx) comp_size = _mesa_sizeof_type(VB->AttribPtr[tab[i]].type); -#if MESA_LITTLE_ENDIAN for (fix = 0; fix <= 4 - VB->AttribPtr[tab[i]].size; fix++) { if ((rmesa->state.aos[i].aos_offset - comp_size * fix) % 4) continue; @@ -511,7 +510,6 @@ int r300EmitArrays(GLcontext *ctx) found = 1; break; } -#endif if (found) { if (fix > 0) {