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 be9bf02aa7fce613837354fb7c26bc630725c174..f56e9862e4c2b8e85e82df134500a5a8872acb4f 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;
    }
 }