Config: Add "enableBlitting" entry to toggle GL_EXT_framebuffer_blit
This commit is contained in:
parent
1478e1e0f9
commit
006f701fec
4 changed files with 14 additions and 0 deletions
src
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue