From d4815932dc3a1fa2a5f88110044f19a827c3960b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 23 May 2016 10:30:22 +0100 Subject: [PATCH] Removed redundent local variable --- src/osg/Texture2DArray.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osg/Texture2DArray.cpp b/src/osg/Texture2DArray.cpp index 90257fbff..2f55e596c 100644 --- a/src/osg/Texture2DArray.cpp +++ b/src/osg/Texture2DArray.cpp @@ -387,7 +387,6 @@ void Texture2DArray::apply(State& state) const } } - const GLExtensions* extensions = state.get(); // source images have no mipmamps but we could generate them... if( _min_filter != LINEAR && _min_filter != NEAREST && !_images[0]->isMipmap() && _useHardwareMipMapGeneration && extensions->isGenerateMipMapSupported )