macOS: Render colors in the sRGB colorspace to match other macOS terminal applications

Fixes #2249
This commit is contained in:
Kovid Goyal
2021-07-12 17:34:03 +05:30
parent 3a322c5c6e
commit 368bc91eed
2 changed files with 4 additions and 0 deletions

View File

@@ -1712,6 +1712,7 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
if (!createNativeWindow(window, wndconfig, fbconfig))
return false;
[window->ns.object setColorSpace:[NSColorSpace sRGBColorSpace]];
if (ctxconfig->client != GLFW_NO_API)
{