From 7b8d412a168042457a03d0a8418a8c3541507fb0 Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 10 Sep 2012 11:19:54 +0200 Subject: [PATCH] Should fix build on PS3. --- gfx/gl.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gfx/gl.c b/gfx/gl.c index cb14ef7108..d187887b48 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -739,7 +739,6 @@ static void gl_frame_fbo(gl_t *gl, const struct gl_tex_info *tex_info) tex_info, gl->prev_info, fbo_tex_info, fbo_tex_info_cnt); gl_set_coords(&gl->coords, 0); - glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); fbo_tex_info_cnt++; @@ -769,7 +768,6 @@ static void gl_frame_fbo(gl_t *gl, const struct gl_tex_info *tex_info) gl->coords.vertex = vertex_ptr; gl_set_coords(&gl->coords, 0); - glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); gl->coords.tex_coord = gl->tex_coords; @@ -990,8 +988,7 @@ static void gl_render_menu(gl_t *gl) gl->coords.vertex = default_vertex_ptr; gl_set_coords(&gl->coords, 0); - - glDrawArrays(GL_TRIANGLESTRIP, 0, 4); + glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); glBindTexture(GL_TEXTURE_2D, gl->texture[gl->tex_index]); } @@ -1049,7 +1046,6 @@ static bool gl_frame(void *data, const void *frame, unsigned width, unsigned hei &tex_info, gl->prev_info, NULL, 0); gl_set_coords(&gl->coords, 0); - glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); #ifdef HAVE_FBO