summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/failover/fo_context.c
diff options
context:
space:
mode:
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 cf6c9fed502..7ce4a7df17e 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;