projects
/
opengl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add specular component
[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
}