Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "testApp.h"
- #import <Cocoa/Cocoa.h>
- #include "ofAppGLFWWindow.h"
- //--------------------------------------------------------------
- void testApp::setup(){
- ofSetVerticalSync(true);
- ofBackground(255);
- ofSetColor(255);
- NSOpenGLContext * ctx = (NSOpenGLContext * ) ( (ofAppGLFWWindow *)ofGetWindowPtr() )->getNSGLContext();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement