From 17ec5954211f0ed87b3e4c83fab0ea487f1d5dfa Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 2 Nov 2014 20:54:02 +0100 Subject: Redraw only when necessary on OSX. Conflicts: pugl/pugl_osx.m --- pugl/pugl_osx.m | 1 - 1 file changed, 1 deletion(-) diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m index 8735a6d..a5fe3c2 100644 --- a/pugl/pugl_osx.m +++ b/pugl/pugl_osx.m @@ -520,7 +520,6 @@ puglProcessEvents(PuglView* view) { NSEvent* ev = [view->impl->window nextEventMatchingMask: NSAnyEventMask]; [view->impl->app sendEvent: ev]; - [view->impl->glview setNeedsDisplay: YES]; return PUGL_SUCCESS; } -- cgit v1.2.3