Commit f225ee61 authored by Diorcet Yann's avatar Diorcet Yann
Browse files

MSOSXDisplay: setWantsLayer when using NSView

parent 02dc872f
......@@ -229,6 +229,7 @@
if(aview != nil) {
view = [aview retain];
[view setWantsLayer:YES];
[glLayer setFrame:[[view layer] bounds]];
[[view layer] addSublayer: glLayer];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment