mirror of https://github.com/mgba-emu/mgba.git
OpenGL: Mark interframe shader as dirty too (fixes #3099)
This commit is contained in:
parent
11e16d1ad9
commit
e1ebaed508
|
@ -293,6 +293,7 @@ static void mGLES2ContextResized(struct VideoBackend* v, unsigned w, unsigned h)
|
|||
}
|
||||
}
|
||||
context->finalShader.dirty = true;
|
||||
context->interframeShader.dirty = true;
|
||||
glBindTexture(GL_TEXTURE_2D, context->finalShader.tex);
|
||||
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, drawW, drawH, 0, GL_RGB, GL_UNSIGNED_BYTE, 0);
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, context->finalShader.fbo);
|
||||
|
|
Loading…
Reference in New Issue