From: Brian Paul Date: Tue, 16 Feb 2016 17:22:32 +0000 (-0700) Subject: st/mesa: use 'cso' instead of 'st->cso_context' in st_DrawTex() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ce1f1245dac1c5eb3b5f296e2addcadb1378ca7;p=mesa.git st/mesa: use 'cso' instead of 'st->cso_context' in st_DrawTex() Reviewed-by: Ilia Mirkin Reviewed-by: Jose Fonseca --- 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 */ {