Show
Ignore:
Timestamp:
06/12/09 11:48:59 (5 years ago)
Author:
robert
Message:

From Konstantin Sinitsyn, "I've fixed bug with loading of compressed texture to texture array!"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/Texture2DArray.cpp

    r9062 r10337  
    421421 
    422422            GLint blockSize, size; 
    423             getCompressedSize(_internalFormat, inwidth, inheight, indepth, blockSize,size); 
     423            getCompressedSize(_internalFormat, inwidth, inheight, 1, blockSize,size); 
    424424 
    425425            extensions->glCompressedTexSubImage3D(target, 0,