summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/xlib/xm_winsys_aub.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-27 10:17:57 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-02-27 10:17:57 -0700
commit03b5267f52d440b1b357918ed7de2ca948f314e1 (patch)
tree294f60bc5f95644f4b772daa7139e03fe405e389 /src/gallium/winsys/xlib/xm_winsys_aub.c
parent17188e4d5a3707c134fc97976863f0d8e2f1f5ab (diff)
gallium/i965: implement pipe_screen for i965 driver (untested)
Diffstat (limited to 'src/gallium/winsys/xlib/xm_winsys_aub.c')
-rw-r--r--src/gallium/winsys/xlib/xm_winsys_aub.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/winsys/xlib/xm_winsys_aub.c b/src/gallium/winsys/xlib/xm_winsys_aub.c
index dbfd37bda2..d55d8c39eb 100644
--- a/src/gallium/winsys/xlib/xm_winsys_aub.c
+++ b/src/gallium/winsys/xlib/xm_winsys_aub.c
@@ -40,6 +40,7 @@
#include "pipe/p_util.h"
#include "pipe/p_inlines.h"
#include "i965simple/brw_winsys.h"
+#include "i965simple/brw_screen.h"
#include "brw_aub.h"
#include "xm_winsys_aub.h"
@@ -565,6 +566,7 @@ struct pipe_context *
xmesa_create_i965simple( struct pipe_winsys *winsys )
{
struct aub_brw_winsys *iws = CALLOC_STRUCT( aub_brw_winsys );
+ struct pipe_screen *screen = brw_create_screen(winsys, 0/* XXX pci_id */);
/* Fill in this struct with callbacks that i965simple will need to
* communicate with the window system, buffer manager, etc.
@@ -583,7 +585,7 @@ xmesa_create_i965simple( struct pipe_winsys *winsys )
/* Create the i965simple context:
*/
- return brw_create( winsys,
+ return brw_create( screen,
&iws->winsys,
0 );
}