projects
/
opengl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ce2549b4785a831283408bf1e35f26891b462f62
[opengl.git]
/
cocoa.mm
1
#import <Cocoa/Cocoa.h>
2
void swizzle() {
3
NSWindow *window = [NSApp orderedWindows][0];
4
NSView *view = [window contentView];
5
[view setWantsBestResolutionOpenGLSurface: true];
6
}