summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-02-15 04:41:57 +0100
committerMarek Olšák <[email protected]>2011-02-15 04:56:09 +0100
commitdc578188fae099a78a806c7f2cf147d151a014ae (patch)
treebf1c1da4dee62e0ed0ced6f3c97603403df0c8ef
parent333d3daf472485b247101932d95ccb798cb55f7b (diff)
st/mesa: fix GLES build
Broken since d5062fb3a315c46d77d5c954a3e3c14be1907d33. I wonder why this code is hidden behind #if by default.
-rw-r--r--src/mesa/state_tracker/st_cb_drawtex.c2
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 26443e13698..81a2479b95a 100644
--- a/src/mesa/state_tracker/st_cb_drawtex.c
+++ b/src/mesa/state_tracker/st_cb_drawtex.c
@@ -265,7 +265,7 @@ st_DrawTex(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
}
- util_draw_vertex_buffer(pipe, vbuffer,
+ util_draw_vertex_buffer(pipe, cso, vbuffer,
0, /* offset */
PIPE_PRIM_TRIANGLE_FAN,
4, /* verts */