Changeset 10338

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

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

Merged from svn/trunk using:

svn merge -r 10336:10337 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk/src/osg

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osg/Texture2DArray.cpp

    r9062 r10338  
    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,