[Piglit] [PATCH 5/9] egl-nok-texture-from-pixmap: remove '#ifdef EGL_NOK_texture_from_pixmap' guard

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


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

Analogous to previous commits.

With this commit no EGL test in piglit relies on this broken behaviour.
Checked with the following:

$ git grep "defined.*\<EGL_"
$ git grep "ifdef.*\<EGL_"

Only local definitions can be seen with the inverse query
$ git grep "ifndef.*\<EGL_"

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

diff --git a/tests/egl/egl-nok-texture-from-pixmap.c b/tests/egl/egl-nok-texture-from-pixmap.c
index ef89d47..92f7ab7 100644
--- a/tests/egl/egl-nok-texture-from-pixmap.c
+++ b/tests/egl/egl-nok-texture-from-pixmap.c
@@ -31,8 +31,6 @@
 #include "piglit-util-gl.h"
 #include "egl-util.h"
 
-#ifdef EGL_NOK_texture_from_pixmap
-
 const char *extensions[] = { "EGL_NOK_texture_from_pixmap", NULL };
 
 static const EGLint pixmap_attribs[] = {
@@ -119,15 +117,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