diff options
author | David Robillard <d@drobilla.net> | 2020-07-02 23:13:54 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-02 23:13:54 +0200 |
commit | 5182a0348e99e8793f0e0230254eb7ddbc8a3dfd (patch) | |
tree | 6d505c2b8739cfc7291b1b612b80fe0ea9daa08b /pugl/detail/mac_gl.m | |
parent | 9483e34037463b083d3e7f437eec6f72c8173996 (diff) | |
download | pugl-5182a0348e99e8793f0e0230254eb7ddbc8a3dfd.tar.gz pugl-5182a0348e99e8793f0e0230254eb7ddbc8a3dfd.tar.bz2 pugl-5182a0348e99e8793f0e0230254eb7ddbc8a3dfd.zip |
Mac: Declare instance variables in implementation
Declaring instance variables in interfaces is deprecated, according to
Wobjc-interface-vars (Apple clang version 11.0.0).
Diffstat (limited to 'pugl/detail/mac_gl.m')
-rw-r--r-- | pugl/detail/mac_gl.m | 7 |
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]; |