diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-09-01 00:39:19 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-09-02 01:08:52 +0200 |
commit | ff3321cf775871f34985cd3e1d2c9fa25738037a (patch) | |
tree | f58b2b40090555a04576500c73822be17477d366 /slideshow | |
parent | a5346d7f3d8a7d4ecf4917a374c9ce930205ff6e (diff) |
replace check with GLEW variable
Change-Id: I818d099c70f2f886908584e67a73934dee5dbef8
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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); |