mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-29 19:44:49 +02:00
Merge pull request #167 from white-axe/retina-test
Remove forced enabling of `enableBlitting` on macOS
This commit is contained in:
commit
755136d58c
2 changed files with 2 additions and 6 deletions
|
@ -258,10 +258,10 @@
|
|||
// capable of it. Some drivers carry buggy
|
||||
// implementations of this functionality, so
|
||||
// disabling it can be used as a workaround.
|
||||
// Does nothing on macOS. Force-disabled when
|
||||
// Force-disabled when
|
||||
// smoothScaling or smoothScalingDown isn't
|
||||
// Nearest-Neighbor or Bilinear.
|
||||
// (default: disabled)
|
||||
// (default: disabled on windows, enabled on other systems)
|
||||
//
|
||||
// "enableBlitting": false,
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue