diff options
author | Keith Whitwell <[email protected]> | 2009-11-04 23:37:52 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-11-04 23:37:52 +0000 |
commit | 220566d8dc4ff023ef833fd6519ab7b187e598d2 (patch) | |
tree | bb44de215254fc33b4ae0b1a565fe0cf462afbca /src/gallium/winsys/drm | |
parent | e84e86ecb2e83b756a0153d315f946d60d695a54 (diff) |
i965g: consolidate some includes
Diffstat (limited to 'src/gallium/winsys/drm')
-rw-r--r-- | src/gallium/winsys/drm/i965/xlib/xlib_i965.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/i965/xlib/xlib_i965.c b/src/gallium/winsys/drm/i965/xlib/xlib_i965.c index 08fce4b20b8..71d8f4bafc8 100644 --- a/src/gallium/winsys/drm/i965/xlib/xlib_i965.c +++ b/src/gallium/winsys/drm/i965/xlib/xlib_i965.c @@ -35,6 +35,7 @@ #include "util/u_memory.h" #include "util/u_math.h" +#include "pipe/p_error.h" #include "pipe/p_context.h" #include "xm_winsys.h" @@ -226,7 +227,7 @@ xlib_brw_bo_references(struct brw_winsys_buffer *a, return TRUE; } -static boolean +static enum pipe_error xlib_brw_check_aperture_space( struct brw_winsys_screen *iws, struct brw_winsys_buffer **buffers, unsigned count ) @@ -241,7 +242,7 @@ xlib_brw_check_aperture_space( struct brw_winsys_screen *iws, __FUNCTION__, count, (tot_size + 1023) / 1024); - return TRUE; + return PIPE_OK; } static void * |