(GL) Get rid of unnecessary conditional for gl_start_frame_fbo

This commit is contained in:
twinaphex 2012-11-18 21:31:25 +01:00
parent e5acc803e9
commit 6e5cfa433d

View File

@ -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 // Need to preserve the "flipped" state when in FBO as well to have
// consistent texture coordinates. // consistent texture coordinates.
// We will "flip" it in place on last pass. // 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) static void gl_check_fbo_dimensions(gl_t *gl)