Mesa (gallium-0.2): cell: compile fix: no-op xlib_create_brw_screen() for Cell build
Brian Paul
brianp at kemper.freedesktop.org
Sat Feb 7 12:05:51 PST 2009
Module: Mesa
Branch: gallium-0.2
Commit: b59117a697ac168da9dacb922d491449fe591264
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b59117a697ac168da9dacb922d491449fe591264
Author: Brian Paul <brianp at vmware.com>
Date: Sat Feb 7 13:02:27 2009 -0700
cell: compile fix: no-op xlib_create_brw_screen() for Cell build
---
src/gallium/winsys/xlib/xlib_brw_screen.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/winsys/xlib/xlib_brw_screen.c b/src/gallium/winsys/xlib/xlib_brw_screen.c
index 51740a9..8e1bfab 100644
--- a/src/gallium/winsys/xlib/xlib_brw_screen.c
+++ b/src/gallium/winsys/xlib/xlib_brw_screen.c
@@ -325,6 +325,7 @@ xlib_create_brw_winsys( void )
static struct pipe_screen *
xlib_create_brw_screen( void )
{
+#ifndef GALLIUM_CELL
struct pipe_winsys *winsys;
struct pipe_screen *screen;
@@ -342,6 +343,7 @@ fail:
if (winsys)
winsys->destroy( winsys );
+#endif
return NULL;
}
More information about the mesa-commit
mailing list