mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 23:06:40 +00:00
(GL) Minor tweaks
This commit is contained in:
parent
db47e069c2
commit
3f900424ca
4
gfx/gl.c
4
gfx/gl.c
@ -988,7 +988,7 @@ static void gl_frame_fbo(gl_t *gl, shader_backend_t *shader,
|
||||
shader->use(gl, i + 1);
|
||||
glBindTexture(GL_TEXTURE_2D, gl->fbo_texture[i - 1]);
|
||||
|
||||
if (gl->shader->mipmap_input(i + 1))
|
||||
if (shader->mipmap_input(i + 1))
|
||||
glGenerateMipmap(GL_TEXTURE_2D);
|
||||
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
@ -1034,7 +1034,7 @@ static void gl_frame_fbo(gl_t *gl, shader_backend_t *shader,
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, gl->fbo_texture[gl->fbo_pass - 1]);
|
||||
|
||||
if (gl->shader->mipmap_input(gl->fbo_pass + 1))
|
||||
if (shader->mipmap_input(gl->fbo_pass + 1))
|
||||
glGenerateMipmap(GL_TEXTURE_2D);
|
||||
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
Loading…
Reference in New Issue
Block a user