diff options
author | Brian Paul <[email protected]> | 2016-02-16 10:22:32 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-02-16 10:22:32 -0700 |
commit | 5ce1f1245dac1c5eb3b5f296e2addcadb1378ca7 (patch) | |
tree | 739f3013fc811e6e2d38226e5e1ce200027bf622 /src | |
parent | 79ffe94c8bf19747ff4204b9d3fd58dcf27d6de1 (diff) |
st/mesa: use 'cso' instead of 'st->cso_context' in st_DrawTex()
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_cb_drawtex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawtex.c b/src/mesa/state_tracker/st_cb_drawtex.c index 32a6608ec53..6f57a2e241b 100644 --- a/src/mesa/state_tracker/st_cb_drawtex.c +++ b/src/mesa/state_tracker/st_cb_drawtex.c @@ -256,7 +256,7 @@ st_DrawTex(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z, velements[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; } cso_set_vertex_elements(cso, numAttribs, velements); - cso_set_stream_outputs(st->cso_context, 0, NULL, NULL); + cso_set_stream_outputs(cso, 0, NULL, NULL); /* viewport state: viewport matching window dims */ { |