projects
/
opengl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update assignment 5 report
[opengl.git]
/
cocoa.mm
diff --git
a/cocoa.mm
b/cocoa.mm
index ce2549b4785a831283408bf1e35f26891b462f62..66589483517a226a9ab7f27820d36ede6b038b25 100644
(file)
--- a/
cocoa.mm
+++ b/
cocoa.mm
@@
-1,5
+1,6
@@
#import <Cocoa/Cocoa.h>
-void swizzle() {
+
+void makeRetina() {
NSWindow *window = [NSApp orderedWindows][0];
NSView *view = [window contentView];
[view setWantsBestResolutionOpenGLSurface: true];