diff options
Diffstat (limited to 'pugl/detail/mac_gl.m')
-rw-r--r-- | pugl/detail/mac_gl.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pugl/detail/mac_gl.m b/pugl/detail/mac_gl.m index 4a6e39a..6cdf6f6 100644 --- a/pugl/detail/mac_gl.m +++ b/pugl/detail/mac_gl.m @@ -91,6 +91,12 @@ typedef NSUInteger NSWindowStyleMask; [wrapper dispatchConfigure:[self bounds]]; } +- (void) drawRect:(NSRect)rect +{ + PuglWrapperView* wrapper = (PuglWrapperView*)[self superview]; + [wrapper dispatchExpose:rect]; +} + @end static int |