summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-10-15 15:00:53 -0700
committerIan Romanick <[email protected]>2012-10-16 14:57:20 -0700
commit95b76eab7103baa2662689b9998328fc5f3a3e9c (patch)
tree7d4f89c97269db4e361601268328cec6c8046011 /src/mesa
parentc50d6a2abc7ab1811f5e41f6bb27ddc491ca5ceb (diff)
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 <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/tests/dispatch_sanity.cpp4
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 ca753b3ca39..a1d0223d0f2 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 */