mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Fix macOS colorspace backport
This commit is contained in:
@@ -311,8 +311,8 @@ bool Window::createWindowAndContext(int x, int y, int w, int h, Uint32 windowfla
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef LOVE_MACOS
|
||||
love::macos::setWindowSRGBColorSpace(window);
|
||||
#ifdef LOVE_MACOSX
|
||||
love::macosx::setWindowSRGBColorSpace(window);
|
||||
#endif
|
||||
|
||||
context = SDL_GL_CreateContext(window);
|
||||
|
||||
Reference in New Issue
Block a user