From 1633fa16270ff9c17420fe0a4edd40a03ec75c7a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 22 Sep 2012 18:45:36 -0600 Subject: [PATCH] mesa: remove FEATURE_ES test in _mesa_get_compressed_formats() Reviewed-by: Ian Romanick --- src/mesa/main/texcompress.c | 2 -- 1 file changed, 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; } -- 2.30.2