summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_cpal.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2015-02-20 20:18:47 -0800
committerMatt Turner <mattst88@gmail.com>2015-02-23 10:49:47 -0800
commitbfcdb843830bba0190e00e35e3c5c18c4bdb5de1 (patch)
treed4e8eebb5d58b3b1ac6caa383bfcda258b19c6c1 /src/mesa/main/texcompress_cpal.c
parent52049f8fd83f2ef31c2a4d645cfb7d7b2ab518a6 (diff)
downloadexternal_mesa3d-bfcdb843830bba0190e00e35e3c5c18c4bdb5de1.zip
external_mesa3d-bfcdb843830bba0190e00e35e3c5c18c4bdb5de1.tar.gz
external_mesa3d-bfcdb843830bba0190e00e35e3c5c18c4bdb5de1.tar.bz2
mesa: Use assert() instead of ASSERT wrapper.
Acked-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/main/texcompress_cpal.c')
-rw-r--r--src/mesa/main/texcompress_cpal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/texcompress_cpal.c b/src/mesa/main/texcompress_cpal.c
index 54e9af4..c46ef8c 100644
--- a/src/mesa/main/texcompress_cpal.c
+++ b/src/mesa/main/texcompress_cpal.c
@@ -32,7 +32,6 @@
#include "glheader.h"
-#include "compiler.h" /* for ASSERT */
#include "context.h"
#include "mtypes.h"
#include "imports.h"
@@ -120,7 +119,7 @@ _mesa_cpal_compressed_size(int level, GLenum internalFormat,
}
info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
- ASSERT(info->cpal_format == internalFormat);
+ assert(info->cpal_format == internalFormat);
expect_size = info->palette_size * info->size;
for (lvl = 0; lvl < num_levels; lvl++) {