On 18.10.2014 20:54, David Heidelberger wrote:
From: Christoph Bumiller <christoph.bumil...@speed.at>

Signed-off-by: David Heidelberger <david.heidelber...@ixit.cz>
---
  src/gallium/auxiliary/draw/draw_cliptest_tmp.h | 2 +-
  src/gallium/auxiliary/draw/draw_context.c      | 5 +++++
  2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/draw/draw_cliptest_tmp.h 
b/src/gallium/auxiliary/draw/draw_cliptest_tmp.h
index 779b237..119c677 100644
--- a/src/gallium/auxiliary/draw/draw_cliptest_tmp.h
+++ b/src/gallium/auxiliary/draw/draw_cliptest_tmp.h
@@ -171,7 +171,7 @@ static boolean TAG(do_cliptest)( struct pt_post_vs *pvs,
         position[2] = position[2] * w * scale[2] + trans[2];
         position[3] = w;
        }
-#ifdef DEBUG
+#if 0 /* def DEBUG - WTF ? */
        /* For debug builds, set the clipped vertex's window coordinate
         * to NaN to help catch potential errors later.
         */

Maybe this hunk should be dropped? I don't think it should stay in this form, anyway.


--
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to