Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian.
authorMichel Dänzer <michel@daenzer.net>
Thu, 14 Sep 2006 16:17:06 +0000 (16:17 +0000)
committerMichel Dänzer <michel@daenzer.net>
Thu, 14 Sep 2006 16:17:06 +0000 (16:17 +0000)
src/mesa/drivers/dri/r300/r300_maos.c

index 5cbdab8d70abb3aa925128eb0dec455c70f0c567..2fdad519fd5363683120396d4c79e42abff41632 100644 (file)
@@ -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) {