From ff3321cf775871f34985cd3e1d2c9fa25738037a Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 1 Sep 2014 00:39:19 +0200 Subject: replace check with GLEW variable Change-Id: I818d099c70f2f886908584e67a73934dee5dbef8 --- .../source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 24c85f212957..bb0e979da9b1 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -376,9 +376,7 @@ bool OGLTransitionerImpl::initWindowFromSlideShowView( const Reference< presenta mpContext->setWinPosAndSize(Point(aCanvasArea.X, aCanvasArea.Y), Size(aCanvasArea.Width, aCanvasArea.Height)); SAL_INFO("slideshow.opengl", "canvas area: " << aCanvasArea.X << "," << aCanvasArea.Y << " - " << aCanvasArea.Width << "x" << aCanvasArea.Height); - GLWindow& rGLWindow(mpContext->getOpenGLWindow()); - - mbGenerateMipmap = rGLWindow.HasGLExtension( "GL_SGIS_generate_mipmap" ); + mbGenerateMipmap = GLEW_SGIS_generate_mipmap; CHECK_GL_ERROR(); glEnable(GL_CULL_FACE); -- cgit v1.2.3