Remove forced enabling of enableBlitting on macOS

This commit is contained in:
white-axe 2024-01-23 17:50:34 -05:00 committed by 刘皓
parent 84fcd28ebb
commit 64f61c0665
No known key found for this signature in database
GPG key ID: 7901753DB465B711

View file

@ -530,12 +530,8 @@ static SDL_GLContext initGL(SDL_Window *win, Config &conf,
return 0;
}
// This breaks scaling for Retina screens.
// Using Metal should be rendering this irrelevant anyway, hopefully
#ifndef MKXPZ_BUILD_XCODE
if (!conf.enableBlitting)
gl.BlitFramebuffer = 0;
#endif
gl.ClearColor(0, 0, 0, 1);
gl.Clear(GL_COLOR_BUFFER_BIT);