Mesa (master): mesa/tests: Compile ES2 test regardless of FEATURE_ES2 setting
Ian Romanick
idr at kemper.freedesktop.org
Tue Oct 16 22:01:38 UTC 2012
Module: Mesa
Branch: master
Commit: 95b76eab7103baa2662689b9998328fc5f3a3e9c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=95b76eab7103baa2662689b9998328fc5f3a3e9c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Oct 15 15:00:53 2012 -0700
mesa/tests: Compile ES2 test regardless of FEATURE_ES2 setting
The relevant ES2 code is always in Mesa. Always building the tests
ensures that things aren't accidentally broken when people don't build
with --enable-es2.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
src/mesa/main/tests/dispatch_sanity.cpp | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp
index ca753b3..a1d0223 100644
--- a/src/mesa/main/tests/dispatch_sanity.cpp
+++ b/src/mesa/main/tests/dispatch_sanity.cpp
@@ -43,8 +43,6 @@ extern "C" {
#include "main/mfeatures.h"
}
-#if FEATURE_ES2
-
#include <gtest/gtest.h>
extern "C" {
@@ -306,5 +304,3 @@ const struct function gles2_functions_possible[] = {
{ "glViewport", _gloffset_Viewport },
{ NULL, -1 }
};
-
-#endif /* FEATURE_ES2 */
More information about the mesa-commit
mailing list