[Piglit] [PATCH 02/16] util/shader: Remove an unneeded #ifdef PIGLIT_USE_OPENGL

Chad Versace chad.versace at linux.intel.com
Wed Jul 9 14:56:44 PDT 2014


The entire file piglit-shader-gl.c was protected by #ifdef
PIGLIT_USE_OPENGL. This patch removes the #ifdef.  Now that
piglit-dispatch supports every OpenGL API, there is no longer a need for
it.

This patch brings us one step closer to unifying Piglit's CMake files.

Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
 tests/util/piglit-shader-gl.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/util/piglit-shader-gl.c b/tests/util/piglit-shader-gl.c
index e4d08f6..8689bd5 100644
--- a/tests/util/piglit-shader-gl.c
+++ b/tests/util/piglit-shader-gl.c
@@ -21,10 +21,6 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#ifndef PIGLIT_USE_OPENGL
-#	error PIGLIT_USE_OPENGL is undefined
-#endif
-
 #if defined(_MSC_VER)
 #include <windows.h>
 #endif
-- 
2.0.0



More information about the Piglit mailing list