summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-23 19:04:40 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-04-24 12:22:40 +0300
commit2a0444f7ad5178223efcb2870735c6115f30eb89 (patch)
tree952fe189cf2f2e167c065356ea9264d4046af161 /slideshow
parentefc80f71f54d73a50b89721132a9c5668d3da39d (diff)
WaE: assigning to 'AquaOpenGLView *' from incompatible type 'NSOpenGLView *'
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
index 8d2ab4e8a21d..c173a012e4a6 100644
--- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
+++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
@@ -425,7 +425,7 @@ bool OGLTransitionerImpl::initWindowFromSlideShowView( const Reference< presenta
Point aScreen( pPWindow->OutputToScreenPixel( Point() ) );
GLWin.aInitFrame = (NSRect){ { aScreen.X(), aFrameSize.Height() - GLWin.Height - aScreen.Y() }, { GLWin.Width, GLWin.Height } };
- GLWin.pAquaOpenGLView = [[NSOpenGLView alloc]initWithFrame: GLWin.aInitFrame pixelFormat: fmt];
+ GLWin.pAquaOpenGLView = (AquaOpenGLView *)[[NSOpenGLView alloc]initWithFrame: GLWin.aInitFrame pixelFormat: fmt];
OSL_ENSURE(GLWin.pAquaOpenGLView, "Could not create NSOPenGLView");
if( !GLWin.pAquaOpenGLView )
return false;