Changeset 20986
- Timestamp:
- 01/03/08 17:52:50 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/branches/2.2/modules/vrjuggler/vrj/Draw/OGL/GlWindowCocoa.mm
r20945 r20986 207 207 inputHandling:handle_input]; 208 208 mMainView = mGlView; 209 210 // mCocoaWindow retains a refernece to mGlView, meaning that the211 // reference count on it is now two. We release our reference to mGlView212 // later when we are done with it.213 [mCocoaWindow setContentView:mGlView];214 [mCocoaWindow setInitialFirstResponder:mGlView];215 209 216 210 // If the window is full screen, then it has to be at the shielding … … 259 253 makeCurrent(); 260 254 // TODO: Add extension loading stuff. 255 256 // mCocoaWindow retains a refernece to mGlView, meaning that the 257 // reference count on it is now two. We release our reference to 258 // mGlView later when we are done with it. 259 [mCocoaWindow setContentView:mGlView]; 260 [mCocoaWindow setInitialFirstResponder:mGlView]; 261 261 } 262 262 }
