From 6e5cfa433d1ac383fc6b623895e14c07bb01d10d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 18 Nov 2012 21:31:25 +0100 Subject: [PATCH] (GL) Get rid of unnecessary conditional for gl_start_frame_fbo --- gfx/gl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/gl.c b/gfx/gl.c index 83aefdd8c8..f1e25d6348 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -706,8 +706,7 @@ static inline void gl_start_frame_fbo(gl_t *gl) // Need to preserve the "flipped" state when in FBO as well to have // consistent texture coordinates. // We will "flip" it in place on last pass. - if (gl->render_to_tex) - gl->coords.vertex = vertexes; + gl->coords.vertex = vertexes; } static void gl_check_fbo_dimensions(gl_t *gl)