OSDN Git Service

svga: Use consistent hexadecimal representation on debug output.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 26 Nov 2010 17:12:09 +0000 (17:12 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 30 Nov 2010 10:45:31 +0000 (10:45 +0000)
src/gallium/drivers/svga/svga_state_need_swtnl.c

index d34d68f..66fea02 100644 (file)
@@ -114,7 +114,7 @@ static int update_need_pipeline( struct svga_context *svga,
    /* SVGA_NEW_RAST, SVGA_NEW_REDUCED_PRIMITIVE
     */
    if (svga->curr.rast->need_pipeline & (1 << svga->curr.reduced_prim)) {
-      SVGA_DBG(DEBUG_SWTNL, "%s: rast need_pipeline (%d) & prim (%x)\n", 
+      SVGA_DBG(DEBUG_SWTNL, "%s: rast need_pipeline (0x%x) & prim (0x%x)\n",
                  __FUNCTION__,
                  svga->curr.rast->need_pipeline,
                  (1 << svga->curr.reduced_prim) );