[Piglit] [PATCH 4/9] egl-nok-swap-region: remove '#ifdef EGL_NOK_swap_region' guard

Emil Velikov emil.l.velikov at gmail.com
Mon Jun 27 16:52:43 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Analogous to previous commits.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 tests/egl/egl-nok-swap-region.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/tests/egl/egl-nok-swap-region.c b/tests/egl/egl-nok-swap-region.c
index 4d2734d..075df97 100644
--- a/tests/egl/egl-nok-swap-region.c
+++ b/tests/egl/egl-nok-swap-region.c
@@ -31,8 +31,6 @@
 #include "piglit-util-gl.h"
 #include "egl-util.h"
 
-#ifdef EGL_NOK_swap_region
-
 const char *extensions[] = { "EGL_NOK_swap_region", NULL };
 
 static enum piglit_result
@@ -110,15 +108,3 @@ main(int argc, char *argv[])
 		return EXIT_FAILURE;
 	return EXIT_SUCCESS;
 }
-
-#else
-
-int
-main(int argc, char *argv[])
-{
-	piglit_report_result(PIGLIT_SKIP);
-
-	return 0;
-}
-
-#endif
-- 
2.8.2



More information about the Piglit mailing list