projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a19a87e
)
Update glws Cocoa bindings too.
author
José Fonseca
<jose.r.fonseca@gmail.com>
Tue, 29 Nov 2011 06:50:25 +0000
(06:50 +0000)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Tue, 29 Nov 2011 06:50:25 +0000
(06:50 +0000)
glws_cocoa.mm
patch
|
blob
|
history
diff --git
a/glws_cocoa.mm
b/glws_cocoa.mm
index
315c6bc
..
891e286
100644
(file)
--- 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