Changeset 20983
- Timestamp:
- 01/03/08 11:53:24 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/vrjuggler/vrj/Draw/OpenGL/WindowCocoa.mm
r20974 r20983 211 211 inputHandling:handle_input]; 212 212 mMainView = mGlView; 213 214 // mCocoaWindow retains a refernece to mGlView, meaning that the215 // reference count on it is now two. We release our reference to mGlView216 // later when we are done with it.217 [mCocoaWindow setContentView:mGlView];218 [mCocoaWindow setInitialFirstResponder:mGlView];219 213 220 214 // If the window is full screen, then it has to be at the shielding … … 263 257 makeCurrent(); 264 258 // TODO: Add extension loading stuff. 259 260 // mCocoaWindow retains a refernece to mGlView, meaning that the 261 // reference count on it is now two. We release our reference to 262 // mGlView later when we are done with it. 263 [mCocoaWindow setContentView:mGlView]; 264 [mCocoaWindow setInitialFirstResponder:mGlView]; 265 265 } 266 266 }
