aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
Diffstat (limited to 'pugl')
-rw-r--r--pugl/detail/mac.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m
index c495ee4..501be02 100644
--- a/pugl/detail/mac.m
+++ b/pugl/detail/mac.m
@@ -1067,7 +1067,7 @@ PuglStatus
puglPostRedisplayRect(PuglView* view, const PuglRect rect)
{
[view->impl->drawView setNeedsDisplayInRect:
- CGRectMake(rect.x, rect.y, rect.width, rect.height)];
+ NSMakeRect(rect.x, rect.y, rect.width, rect.height)];
return PUGL_SUCCESS;
}