aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac_gl.m
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/mac_gl.m')
-rw-r--r--pugl/detail/mac_gl.m7
1 files changed, 3 insertions, 4 deletions
diff --git a/pugl/detail/mac_gl.m b/pugl/detail/mac_gl.m
index 8cfbd93..d1461ec 100644
--- a/pugl/detail/mac_gl.m
+++ b/pugl/detail/mac_gl.m
@@ -29,15 +29,14 @@
#endif
@interface PuglOpenGLView : NSOpenGLView
+@end
+
+@implementation PuglOpenGLView
{
@public
PuglView* puglview;
}
-@end
-
-@implementation PuglOpenGLView
-
- (id) initWithFrame:(NSRect)frame
{
const bool compat = puglview->hints[PUGL_USE_COMPAT_PROFILE];