diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-03-08 15:20:49 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-03-08 15:43:22 +0100 |
commit | 25656a10cb237fc1be7dac3e2207a1986633bf06 (patch) | |
tree | e989d2081c2dbcf025ac830843fb382701133d73 /src/video/cocoa/cocoa_wnd.mm | |
parent | ae1f7bd6954176c02effe4048e8b9fe900038389 (diff) | |
download | openttd-25656a10cb237fc1be7dac3e2207a1986633bf06.tar.xz |
Fix #8808: [OSX, OpenGL] Crash on switching blitters due to double-mapping the video buffer.
Diffstat (limited to 'src/video/cocoa/cocoa_wnd.mm')
-rw-r--r-- | src/video/cocoa/cocoa_wnd.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video/cocoa/cocoa_wnd.mm b/src/video/cocoa/cocoa_wnd.mm index d5a7ba84c..825130006 100644 --- a/src/video/cocoa/cocoa_wnd.mm +++ b/src/video/cocoa/cocoa_wnd.mm @@ -700,9 +700,9 @@ void CocoaDialog(const char *title, const char *message, const char *buttonLabel if (!EditBoxInGlobalFocus() || IsInsideMM(pressed_key & ~WKC_SPECIAL_KEYS, WKC_F1, WKC_PAUSE + 1)) { HandleKeypress(pressed_key, unicode); } - DEBUG(driver, 2, "cocoa_v: QZ_KeyEvent: %x (%x), down, mapping: %x", keycode, unicode, pressed_key); + DEBUG(driver, 3, "cocoa_v: QZ_KeyEvent: %x (%x), down, mapping: %x", keycode, unicode, pressed_key); } else { - DEBUG(driver, 2, "cocoa_v: QZ_KeyEvent: %x (%x), up", keycode, unicode); + DEBUG(driver, 3, "cocoa_v: QZ_KeyEvent: %x (%x), up", keycode, unicode); } return interpret_keys; |