summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_cocoa.mm
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-12-23 18:54:30 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2020-12-23 18:54:30 +0100
commitb6c067111cd15b494024863f05f7235787e99dff (patch)
treef79e04a18d2dcec62119bd4f1df358177be2b0c7 /plugingui/nativewindow_cocoa.mm
parent685a3eb11ab5167758449410961c753e5685830b (diff)
Remove redraw on all cocoa/macOS events to speed up UI rendering.
Diffstat (limited to 'plugingui/nativewindow_cocoa.mm')
-rw-r--r--plugingui/nativewindow_cocoa.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugingui/nativewindow_cocoa.mm b/plugingui/nativewindow_cocoa.mm
index 37fae88..7b6ecc8 100644
--- a/plugingui/nativewindow_cocoa.mm
+++ b/plugingui/nativewindow_cocoa.mm
@@ -827,7 +827,6 @@ void NativeWindowCocoa::resized()
void NativeWindowCocoa::pushBackEvent(std::shared_ptr<Event> event)
{
event_queue.push_back(event);
- redraw({});
}
} // GUI::