mesa/tests: Compile ES2 test regardless of FEATURE_ES2 setting
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 15 Oct 2012 22:00:53 +0000 (15:00 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 16 Oct 2012 21:57:20 +0000 (14:57 -0700)
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@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/tests/dispatch_sanity.cpp

index ca753b3ca3918228f17a7f3f4c44ccbdfb00ba72..a1d0223d0f27b99976a942983d8b45c9bcc454e0 100644 (file)
@@ -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 */