aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-11-02 20:54:02 +0100
committerDavid Robillard <d@drobilla.net>2014-12-16 18:31:22 -0500
commit17ec5954211f0ed87b3e4c83fab0ea487f1d5dfa (patch)
tree09e0232b5b72b1981f3d76c54dd2fd2e893d74e3
parent3d27fe91f5c25405df0d332f17a7c6fc97d7da27 (diff)
Redraw only when necessary on OSX.
Conflicts: pugl/pugl_osx.m
-rw-r--r--pugl/pugl_osx.m1
1 files changed, 0 insertions, 1 deletions
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;
}