Config: Add "enableBlitting" entry to toggle GL_EXT_framebuffer_blit

This commit is contained in:
Jonas Kulla 2017-04-23 14:32:11 +02:00
parent 1478e1e0f9
commit 006f701fec
4 changed files with 14 additions and 0 deletions

View file

@ -102,6 +102,9 @@ int rgssThreadFun(void *userdata)
return 0;
}
if (!conf.enableBlitting)
gl.BlitFramebuffer = 0;
gl.ClearColor(0, 0, 0, 1);
gl.Clear(GL_COLOR_BUFFER_BIT);
SDL_GL_SwapWindow(win);