projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79ffe94
)
st/mesa: use 'cso' instead of 'st->cso_context' in st_DrawTex()
author
Brian Paul
<brianp@vmware.com>
Tue, 16 Feb 2016 17:22:32 +0000
(10:22 -0700)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_drawtex.c
b/src/mesa/state_tracker/st_cb_drawtex.c
index 32a6608ec5353746dd0032386f29efff36171168..6f57a2e241bbd5df6c66b6143cc9826d4d3c1dc1 100644
(file)
--- 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 */
{