st/mesa: use 'cso' instead of 'st->cso_context' in st_DrawTex()
authorBrian Paul <brianp@vmware.com>
Tue, 16 Feb 2016 17:22:32 +0000 (10:22 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Feb 2016 17:22:32 +0000 (10:22 -0700)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_cb_drawtex.c

index 32a6608ec5353746dd0032386f29efff36171168..6f57a2e241bbd5df6c66b6143cc9826d4d3c1dc1 100644 (file)
@@ -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 */
    {