aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl/detail/mac_gl.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-21 15:15:34 +0200
committerDavid Robillard <d@drobilla.net>2020-10-21 15:43:29 +0200
commit641a48427055b4a0e3765fb4bcbeba0e8ce01862 (patch)
tree00dcb04bc60bb3f61fa17f538cacd99e500ab2f0 /include/pugl/detail/mac_gl.m
parent95beec3f3d9c06cd015eea01b9c3608237ae102c (diff)
downloadpugl-641a48427055b4a0e3765fb4bcbeba0e8ce01862.tar.gz
pugl-641a48427055b4a0e3765fb4bcbeba0e8ce01862.tar.bz2
pugl-641a48427055b4a0e3765fb4bcbeba0e8ce01862.zip
Cleanup: Use conventional style for ObjC methods
Diffstat (limited to 'include/pugl/detail/mac_gl.m')
-rw-r--r--include/pugl/detail/mac_gl.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pugl/detail/mac_gl.m b/include/pugl/detail/mac_gl.m
index 4d4f324..44e5667 100644
--- a/include/pugl/detail/mac_gl.m
+++ b/include/pugl/detail/mac_gl.m
@@ -37,7 +37,7 @@
PuglView* puglview;
}
-- (id) initWithFrame:(NSRect)frame
+- (id)initWithFrame:(NSRect)frame
{
const bool compat = puglview->hints[PUGL_USE_COMPAT_PROFILE];
const unsigned samples = (unsigned)puglview->hints[PUGL_SAMPLES];
@@ -102,7 +102,7 @@
return self;
}
-- (void) reshape
+- (void)reshape
{
PuglWrapperView* wrapper = (PuglWrapperView*)[self superview];
@@ -110,7 +110,7 @@
[wrapper setReshaped];
}
-- (void) drawRect:(NSRect)rect
+- (void)drawRect:(NSRect)rect
{
PuglWrapperView* wrapper = (PuglWrapperView*)[self superview];
[wrapper dispatchExpose:rect];