Work in progress to allow osg::Texture2DArray to be set up with a single osg::Image containing 3D image data.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14773 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -11,7 +11,6 @@ static bool checkImages( const osg::Texture2DArray& tex )
|
||||
static bool readImages( osgDB::InputStream& is, osg::Texture2DArray& tex )
|
||||
{
|
||||
unsigned int size = 0; is >> size >> is.BEGIN_BRACKET;
|
||||
tex.setTextureDepth(size);
|
||||
for ( unsigned int i=0; i<size; ++i )
|
||||
{
|
||||
osg::Image* image = is.readImage();
|
||||
|
||||
Reference in New Issue
Block a user