summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-09-22 18:45:36 -0600
committerIan Romanick <[email protected]>2012-10-16 14:57:20 -0700
commit1633fa16270ff9c17420fe0a4edd40a03ec75c7a (patch)
tree940d20bbf44d959040bc5fdfd70bb601aefe4d97 /src/mesa/main/texcompress.c
parent4936aadcd1a9c92f7815ee7367ee404dd58151f7 (diff)
mesa: remove FEATURE_ES test in _mesa_get_compressed_formats()
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress.c')
-rw-r--r--src/mesa/main/texcompress.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c
index bb61e6eda74..957cc6df661 100644
--- a/src/mesa/main/texcompress.c
+++ b/src/mesa/main/texcompress.c
@@ -275,7 +275,6 @@ _mesa_get_compressed_formats(struct gl_context *ctx, GLint *formats)
}
}
-#if FEATURE_ES1
if (ctx->API == API_OPENGLES) {
if (formats) {
formats[n++] = GL_PALETTE4_RGB8_OES;
@@ -293,7 +292,6 @@ _mesa_get_compressed_formats(struct gl_context *ctx, GLint *formats)
n += 10;
}
}
-#endif
return n;
}