aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac.m
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/mac.m')
-rw-r--r--pugl/detail/mac.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m
index 6900ed6..36aff9b 100644
--- a/pugl/detail/mac.m
+++ b/pugl/detail/mac.m
@@ -77,7 +77,7 @@
puglview->backend->resize(puglview, bounds.size.width, bounds.size.height);
}
-- (void) drawRect:(NSRect)rect
+- (void) dispatchExpose:(NSRect)rect
{
const PuglEventExpose ev = {
PUGL_EXPOSE,
@@ -850,7 +850,7 @@ puglGetTime(PuglView* view)
void
puglPostRedisplay(PuglView* view)
{
- [view->impl->wrapperView setNeedsDisplay: YES];
+ [view->impl->drawView setNeedsDisplay: YES];
}
PuglNativeWindow