summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/vertexshader9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-28 00:43:56 +0200
committerAxel Davy <[email protected]>2016-12-20 23:44:22 +0100
commitc7237e2c5c9935d80f04f2793bde9489ca6bda9d (patch)
tree6c5ae590313264318d563284cea7db12d15cc50c /src/gallium/state_trackers/nine/vertexshader9.c
parent4a4eba8c059022b1bff7a389e72f66e513a3dc06 (diff)
st/nine: Access pipe_context via NineDevice9_GetPipe
Except for nine_ff and nine_state. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/vertexshader9.c')
-rw-r--r--src/gallium/state_trackers/nine/vertexshader9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/vertexshader9.c b/src/gallium/state_trackers/nine/vertexshader9.c
index b8c9ec047db..28c40f40d30 100644
--- a/src/gallium/state_trackers/nine/vertexshader9.c
+++ b/src/gallium/state_trackers/nine/vertexshader9.c
@@ -110,7 +110,7 @@ NineVertexShader9_dtor( struct NineVertexShader9 *This )
DBG("This=%p\n", This);
if (This->base.device) {
- struct pipe_context *pipe = This->base.device->pipe;
+ struct pipe_context *pipe = NineDevice9_GetPipe(This->base.device);
struct nine_shader_variant *var = &This->variant;
struct nine_shader_variant_so *var_so = &This->variant_so;