mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 03:39:59 +00:00
Should fix build on PS3.
This commit is contained in:
parent
9871b8d56f
commit
7b8d412a16
6
gfx/gl.c
6
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user