gles2 build fix
This commit is contained in:
parent
2e5eaa6e2b
commit
d55d803c16
|
@ -1174,6 +1174,7 @@ bool render_output_framebuffer()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#ifndef GLES2
|
||||||
if (gl.ofbo.fbo == 0)
|
if (gl.ofbo.fbo == 0)
|
||||||
return false;
|
return false;
|
||||||
glBindFramebuffer(GL_READ_FRAMEBUFFER, gl.ofbo.fbo);
|
glBindFramebuffer(GL_READ_FRAMEBUFFER, gl.ofbo.fbo);
|
||||||
|
@ -1182,6 +1183,7 @@ bool render_output_framebuffer()
|
||||||
0, 0, screen_width, screen_height,
|
0, 0, screen_width, screen_height,
|
||||||
GL_COLOR_BUFFER_BIT, GL_LINEAR);
|
GL_COLOR_BUFFER_BIT, GL_LINEAR);
|
||||||
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue