From f8199935fa48683b9b07b9c2d5893c51f1f0a430 Mon Sep 17 00:00:00 2001 From: Yaroslav Tarasov Date: Mon, 12 Mar 2018 16:14:30 +0000 Subject: [PATCH] Fixed renamed of _textureDepth. --- src/osg/Texture2DArray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/Texture2DArray.cpp b/src/osg/Texture2DArray.cpp index 258478eff..5c78b171b 100644 --- a/src/osg/Texture2DArray.cpp +++ b/src/osg/Texture2DArray.cpp @@ -725,7 +725,7 @@ void Texture2DArray::allocateMipmap(State& state) const getCompressedSize( _internalFormat, width, height, textureDepth, blockSize, size); extensions->glCompressedTexImage3D( GL_TEXTURE_2D_ARRAY, k, _internalFormat, - width, height, _textureDepth, _borderWidth, + width, height, textureDepth, _borderWidth, size, NULL); }