Request an SRGB output buffer from the window system explicitly
Possible fix for #6845
This commit is contained in:
parent
788295e534
commit
97f5cad335
1 changed files with 2 additions and 0 deletions
|
|
@ -1034,6 +1034,8 @@ create_os_window(PyObject UNUSED *self, PyObject *args, PyObject *kw) {
|
|||
glfwSetHasCurrentSelectionCallback(has_current_selection);
|
||||
glfwSetIMECursorPositionCallback(get_ime_cursor_position);
|
||||
glfwSetSystemColorThemeChangeCallback(on_system_color_scheme_change);
|
||||
// Request SRGB output buffer
|
||||
glfwWindowHint(GLFW_SRGB_CAPABLE, true);
|
||||
#ifdef __APPLE__
|
||||
cocoa_set_activation_policy(OPT(macos_hide_from_tasks));
|
||||
glfwWindowHint(GLFW_COCOA_GRAPHICS_SWITCHING, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue