Mesa (master): mesa: remove FEATURE_ES test in _mesa_get_compressed_formats ()
Ian Romanick
idr at kemper.freedesktop.org
Tue Oct 16 22:01:38 UTC 2012
Module: Mesa
Branch: master
Commit: 1633fa16270ff9c17420fe0a4edd40a03ec75c7a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1633fa16270ff9c17420fe0a4edd40a03ec75c7a
Author: Brian Paul <brianp at vmware.com>
Date: Sat Sep 22 18:45:36 2012 -0600
mesa: remove FEATURE_ES test in _mesa_get_compressed_formats()
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
---
src/mesa/main/texcompress.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c
index bb61e6e..957cc6d 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;
}
More information about the mesa-commit
mailing list