summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_bptc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/texcompress_bptc.c')
-rw-r--r--src/mesa/main/texcompress_bptc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress_bptc.c b/src/mesa/main/texcompress_bptc.c
index d7f4ecf9abb..70dc37d8897 100644
--- a/src/mesa/main/texcompress_bptc.c
+++ b/src/mesa/main/texcompress_bptc.c
@@ -142,7 +142,7 @@ _mesa_texstore_bptc_rgba_unorm(TEXSTORE_PARAMS)
tempImageSlices[0] = (GLubyte *) tempImage;
_mesa_texstore(ctx, dims,
baseInternalFormat,
-#if PIPE_ARCH_LITTLE_ENDIAN
+#if UTIL_ARCH_LITTLE_ENDIAN
MESA_FORMAT_R8G8B8A8_UNORM,
#else
MESA_FORMAT_A8B8G8R8_UNORM,