projects
/
opengl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update assignment 5 report
[opengl.git]
/
cocoa.mm
1
#import <Cocoa/Cocoa.h>
2
3
void makeRetina() {
4
NSWindow *window = [NSApp orderedWindows][0];
5
NSView *view = [window contentView];
6
[view setWantsBestResolutionOpenGLSurface: true];
7
}