summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/dri/intel
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-27 09:47:46 -0700
committerBrian <[email protected]>2008-02-27 09:47:46 -0700
commit4f36cf5858a7e53181c3578685675e15fbfcbb82 (patch)
tree5067a58e3f441b3028a9526d9eb9ace76445c739 /src/gallium/winsys/dri/intel
parentef6c82b0c13573df1aab7acd6f4f9ef9076f421f (diff)
gallium: implement pipe_screen for softpipe driver
Diffstat (limited to 'src/gallium/winsys/dri/intel')
-rw-r--r--src/gallium/winsys/dri/intel/intel_winsys_softpipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_winsys_softpipe.c b/src/gallium/winsys/dri/intel/intel_winsys_softpipe.c
index 9e483bdc9f5..0bc2dc40025 100644
--- a/src/gallium/winsys/dri/intel/intel_winsys_softpipe.c
+++ b/src/gallium/winsys/dri/intel/intel_winsys_softpipe.c
@@ -68,6 +68,7 @@ intel_create_softpipe( struct intel_context *intel,
struct pipe_winsys *winsys )
{
struct intel_softpipe_winsys *isws = CALLOC_STRUCT( intel_softpipe_winsys );
+ struct pipe_screen *screen = softpipe_create_screen(winsys);
/* Fill in this struct with callbacks that softpipe will need to
* communicate with the window system, buffer manager, etc.
@@ -77,5 +78,5 @@ intel_create_softpipe( struct intel_context *intel,
/* Create the softpipe context:
*/
- return softpipe_create( winsys, &isws->sws );
+ return softpipe_create( screen, winsys, &isws->sws );
}