diff options
author | José Fonseca <jose.r.fonseca@gmail.com> | 2011-11-29 06:50:25 +0000 |
---|---|---|
committer | José Fonseca <jose.r.fonseca@gmail.com> | 2011-11-29 06:50:25 +0000 |
commit | 5c8e4325f0d02339d322939ea2cf78e8f13620c5 (patch) | |
tree | 639a01c751f2ce32fecd708075d440684436bece /glws_cocoa.mm | |
parent | a19a87e02f91dd0cf4d6217a5ea7125f8509ed85 (diff) |
Update glws Cocoa bindings too.
Diffstat (limited to 'glws_cocoa.mm')
-rw-r--r-- | glws_cocoa.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glws_cocoa.mm b/glws_cocoa.mm index 315c6bc..891e286 100644 --- a/glws_cocoa.mm +++ b/glws_cocoa.mm @@ -143,8 +143,8 @@ class CocoaContext : public Context public: NSOpenGLContext *context; - CocoaContext(const Visual *vis, NSOpenGLContext *ctx) : - Context(vis), + CocoaContext(const Visual *vis, Profile prof, NSOpenGLContext *ctx) : + Context(vis, prof), context(ctx) {} @@ -223,7 +223,7 @@ createContext(const Visual *visual, Context *shareContext, Profile profile) shareContext:share_context]; assert(context != nil); - return new CocoaContext(visual, context); + return new CocoaContext(visual, profile, context); } bool |