i965: Fix dangerous warning I let slip in.
authorEric Anholt <eric@anholt.net>
Wed, 5 Aug 2009 01:07:01 +0000 (18:07 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 5 Aug 2009 01:07:01 +0000 (18:07 -0700)
src/mesa/drivers/dri/i965/brw_vs_emit.c

index be9bf02..f56e986 100644 (file)
@@ -1278,7 +1278,7 @@ get_predicate(uint32_t swizzle)
    case SWIZZLE_WWWW:
       return BRW_PREDICATE_ALIGN16_REPLICATE_W;
    default:
-      _mesa_problem("Unexpected predicate: 0x%08x\n", swizzle);
+      _mesa_problem(NULL, "Unexpected predicate: 0x%08x\n", swizzle);
       return BRW_PREDICATE_NORMAL;
    }
 }