diff options
author | José Fonseca <[email protected]> | 2008-02-19 15:07:53 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-02-19 15:07:53 +0900 |
commit | b9da3791c934e05b82063a8c79c423a0a8e29a94 (patch) | |
tree | 2dce15e3f3d6df353a7f144afa9acb78c177ee5f /src/gallium/winsys/xlib/brw_aub.c | |
parent | 5d78212d752e021555356bbb9cc5993ad6d9e847 (diff) |
Remove src/mesa and src/mesa/main from gallium source include paths.
Diffstat (limited to 'src/gallium/winsys/xlib/brw_aub.c')
-rw-r--r-- | src/gallium/winsys/xlib/brw_aub.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/gallium/winsys/xlib/brw_aub.c b/src/gallium/winsys/xlib/brw_aub.c index 541d50c6e40..10eedd8402d 100644 --- a/src/gallium/winsys/xlib/brw_aub.c +++ b/src/gallium/winsys/xlib/brw_aub.c @@ -29,11 +29,13 @@ * Keith Whitwell <[email protected]> */ +#include <stdio.h> +#include <stdlib.h> #include "brw_aub.h" #include "pipe/p_context.h" #include "pipe/p_state.h" -#include "imports.h" -//#include "intel_winsys.h" +#include "pipe/p_util.h" +#include "pipe/p_debug.h" struct brw_aubfile { @@ -350,9 +352,9 @@ struct brw_aubfile *brw_aubfile_create( void ) i++; - if (_mesa_getenv("INTEL_AUBFILE")) { - val = snprintf(filename, sizeof(filename), "%s%d.aub", _mesa_getenv("INTEL_AUBFILE"), i%4); - _mesa_printf("--> Aub file: %s\n", filename); + if (getenv("INTEL_AUBFILE")) { + val = snprintf(filename, sizeof(filename), "%s%d.aub", getenv("INTEL_AUBFILE"), i%4); + debug_printf("--> Aub file: %s\n", filename); aubfile->file = fopen(filename, "w"); } else { @@ -360,12 +362,12 @@ struct brw_aubfile *brw_aubfile_create( void ) if (val < 0 || val > sizeof(filename)) strcpy(filename, "default.aub"); - _mesa_printf("--> Aub file: %s\n", filename); + debug_printf("--> Aub file: %s\n", filename); aubfile->file = fopen(filename, "w"); } if (!aubfile->file) { - _mesa_printf("couldn't open aubfile\n"); + debug_printf("couldn't open aubfile\n"); exit(1); } |