From 038683bf4cf3b6f9e4f90295ddbab2d6a3d86b25 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 26 Nov 2014 18:12:01 +0100 Subject: Silence Mac OS X 10.9/10.10 deprecations for now Change-Id: Ie63ed8f6f66a7641ad872f93d76efb962333cec9 --- .../source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'slideshow/source') diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 22fca9170247..754e7940b70f 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -970,6 +970,7 @@ void OGLTransitionerImpl::impl_createTexture( maSlideBitmapLayout.ColorSpace->convertToIntegerColorSpace( data, getOGLColorSpace())); + SAL_WNODEPRECATED_DECLARATIONS_PUSH //TODO: 10.9 gluBuild2DMipmaps gluBuild2DMipmaps(GL_TEXTURE_2D, 4, maSlideSize.Width, @@ -977,6 +978,7 @@ void OGLTransitionerImpl::impl_createTexture( GL_RGBA, GL_UNSIGNED_BYTE, &tempBytes[0]); + SAL_WNODEPRECATED_DECLARATIONS_POP glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR); glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR_MIPMAP_LINEAR); //TRILINEAR FILTERING @@ -990,7 +992,9 @@ void OGLTransitionerImpl::impl_createTexture( glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_NEAREST); glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_NEAREST); } else { + SAL_WNODEPRECATED_DECLARATIONS_PUSH //TODO: 10.9 gluBuild2DMipmaps gluBuild2DMipmaps( GL_TEXTURE_2D, pFormat->nInternalFormat, maSlideSize.Width, maSlideSize.Height, pFormat->eFormat, pFormat->eType, &data[0] ); + SAL_WNODEPRECATED_DECLARATIONS_POP glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR ); glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR ); //TRILINEAR FILTERING -- cgit