add missing param to _mesa_warning()
authorPanagiotis Papadakos <papadako@csd.uoc.gr>
Mon, 26 Feb 2007 14:57:31 +0000 (07:57 -0700)
committerBrian <brian@yutani.localnet.net>
Mon, 26 Feb 2007 14:57:31 +0000 (07:57 -0700)
src/mesa/drivers/dri/common/dri_util.c

index cc3dcf9d8db4e16dde3075400e923c4b075b3055..3e27052afc15bdb89ebbbb9b2f5c1f437c7f8905 100644 (file)
@@ -420,7 +420,7 @@ __driUtilUpdateDrawableInfo(__DRIdrawablePrivate *pdp)
     psp = pdp->driScreenPriv;
     if (!psp) {
        /* ERROR!!! */
-       _mesa_problem("Warning! Possible infinite loop due to bug "
+       _mesa_problem(NULL, "Warning! Possible infinite loop due to bug "
                     "in file %s, line %d\n",
                     __FILE__, __LINE__);
        return;