Mesa (master): draw: fix warning

Keith Whitwell keithw at kemper.freedesktop.org
Thu Sep 24 15:50:01 UTC 2009


Module: Mesa
Branch: master
Commit: cd362334adfee077faa3b7cb4e0d7994d5a5cf56
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd362334adfee077faa3b7cb4e0d7994d5a5cf56

Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Sep 24 16:44:58 2009 +0100

draw: fix warning

---

 src/gallium/auxiliary/draw/draw_pt_post_vs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_pt_post_vs.c b/src/gallium/auxiliary/draw/draw_pt_post_vs.c
index 00d7197..e25f16c 100644
--- a/src/gallium/auxiliary/draw/draw_pt_post_vs.c
+++ b/src/gallium/auxiliary/draw/draw_pt_post_vs.c
@@ -104,7 +104,7 @@ static boolean post_vs_cliptest_viewport_gl( struct pt_post_vs *pvs,
    unsigned clipped = 0;
    unsigned j;
 
-   if (0) debug_printf("%s\n");
+   if (0) debug_printf("%s\n", __FUNCTION__);
 
    for (j = 0; j < count; j++) {
       float *position = out->data[pos];




More information about the mesa-commit mailing list