From: Marek Olšák Date: Tue, 15 Feb 2011 03:41:57 +0000 (+0100) Subject: st/mesa: fix GLES build X-Git-Tag: 062012170305~7212 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc578188fae099a78a806c7f2cf147d151a014ae;p=profile%2Fivi%2Fmesa.git st/mesa: fix GLES build Broken since d5062fb3a315c46d77d5c954a3e3c14be1907d33. I wonder why this code is hidden behind #if by default. --- diff --git a/src/mesa/state_tracker/st_cb_drawtex.c b/src/mesa/state_tracker/st_cb_drawtex.c index 26443e1..81a2479 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 */