diff options
author | Marek Olšák <[email protected]> | 2017-11-18 17:46:51 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-11-25 17:16:56 +0100 |
commit | 65433c3fd06ad2d080fb40bce139bc814cd76215 (patch) | |
tree | 7a2de527022b6e17e8eb03dfa58af648e7e3fcf7 /src/gallium/state_trackers/wgl | |
parent | e20364df828d3758c570658dff780d01cab0e5ed (diff) |
gallium/hud: use cso_get_pipe_context
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/wgl')
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_context.c b/src/gallium/state_trackers/wgl/stw_context.c index 939ffd56832..2155fbfcff5 100644 --- a/src/gallium/state_trackers/wgl/stw_context.c +++ b/src/gallium/state_trackers/wgl/stw_context.c @@ -278,7 +278,7 @@ stw_create_context_attribs(HDC hdc, INT iLayerPlane, DHGLRC hShareContext, ctx->st->st_manager_private = (void *) ctx; if (ctx->st->cso_context) { - ctx->hud = hud_create(ctx->st->pipe, ctx->st->cso_context); + ctx->hud = hud_create(ctx->st->cso_context); } stw_lock_contexts(stw_dev); |