summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/failover/fo_context.c
diff options
context:
space:
mode:
authorJerome Glisse <glisse@freedesktop.org>2008-02-08 18:25:49 +0100
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:33 +1100
commit1e2f5fb05a3f6720a1e7aa02e7ce12304991c6c7 (patch)
tree71a781eb2b86a6062afb37a3ff2ed6bb6ea4cee3 /src/mesa/pipe/failover/fo_context.c
parent99c3c2d038074209686559c42d7314fcaaf3953a (diff)
failover: several fixes to failover pipe module
Diffstat (limited to 'src/mesa/pipe/failover/fo_context.c')
-rw-r--r--src/mesa/pipe/failover/fo_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/failover/fo_context.c b/src/mesa/pipe/failover/fo_context.c
index cf6c9fed50..7ce4a7df17 100644
--- a/src/mesa/pipe/failover/fo_context.c
+++ b/src/mesa/pipe/failover/fo_context.c
@@ -114,6 +114,8 @@ struct pipe_context *failover_create( struct pipe_context *hw,
if (failover == NULL)
return NULL;
+ failover->hw = hw;
+ failover->sw = sw;
failover->pipe.winsys = hw->winsys;
failover->pipe.destroy = failover_destroy;
failover->pipe.is_format_supported = hw->is_format_supported;