disable debug printfs

This commit is contained in:
Brian Paul 2006-11-01 18:48:28 +00:00
parent 361d137587
commit 4db0c89d25
2 changed files with 7 additions and 4 deletions

View file

@ -114,7 +114,8 @@ i915CreateContext(const __GLcontextModes * mesaVis,
if (!i915)
return GL_FALSE;
_mesa_printf("\ntexmem-0-3 branch\n\n");
if (0)
_mesa_printf("\ntexmem-0-3 branch\n\n");
i915InitVtbl(i915);
i915InitMetaFuncs(i915);

View file

@ -88,7 +88,8 @@ intelMapScreenRegions(__DRIscreenPrivate * sPriv)
_mesa_warning(NULL, "no front buffer handle in intelMapScreenRegions!");
}
_mesa_printf("Back 0x%08x ", intelScreen->back.handle);
if (0)
_mesa_printf("Back 0x%08x ", intelScreen->back.handle);
if (drmMap(sPriv->fd,
intelScreen->back.handle,
intelScreen->back.size,
@ -97,7 +98,8 @@ intelMapScreenRegions(__DRIscreenPrivate * sPriv)
return GL_FALSE;
}
_mesa_printf("Depth 0x%08x ", intelScreen->depth.handle);
if (0)
_mesa_printf("Depth 0x%08x ", intelScreen->depth.handle);
if (drmMap(sPriv->fd,
intelScreen->depth.handle,
intelScreen->depth.size,
@ -432,7 +434,7 @@ intelInitDriver(__DRIscreenPrivate * sPriv)
intelScreen->sarea_priv_offset = gDRIPriv->sarea_priv_offset;
if (1)
if (0)
intelPrintDRIInfo(intelScreen, sPriv, gDRIPriv);
intelScreen->drmMinor = sPriv->drmMinor;