Advertisement
Guest User

Untitled

a guest
Feb 8th, 2014
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. #include "testApp.h"
  2. #import <Cocoa/Cocoa.h>
  3. #include "ofAppGLFWWindow.h"
  4.  
  5. //--------------------------------------------------------------
  6. void testApp::setup(){
  7.     ofSetVerticalSync(true);
  8.     ofBackground(255);
  9.     ofSetColor(255);
  10.    
  11.     NSOpenGLContext * ctx = (NSOpenGLContext * ) ( (ofAppGLFWWindow *)ofGetWindowPtr() )->getNSGLContext();
  12.    
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement