aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_osx.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-27 16:48:52 +0000
committerDavid Robillard <d@drobilla.net>2014-01-27 16:48:52 +0000
commita983550a464d14ec2a79fa93021b2f02b64d20fa (patch)
treee7a1d0498278be81b9ba423b87b8a980f6aa7072 /pugl/pugl_osx.m
parent55962a68aada2975d78899371788a97e943b1ce3 (diff)
downloadpugl-a983550a464d14ec2a79fa93021b2f02b64d20fa.tar.gz
pugl-a983550a464d14ec2a79fa93021b2f02b64d20fa.tar.bz2
pugl-a983550a464d14ec2a79fa93021b2f02b64d20fa.zip
Strict prototypes.
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r--pugl/pugl_osx.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index c318d91..d091a11 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -72,7 +72,7 @@
@end
-void
+static void
puglDisplay(PuglView* view)
{
if (view->displayFunc) {
@@ -169,7 +169,7 @@ puglDisplay(PuglView* view)
- (void) drawRect:(NSRect)rect
{
- puglDisplay(puglview);
+ display(puglview);
glFlush();
glSwapAPPLE();
}