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.vers...@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

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to