Added the setting of the _internalTextureFormat from within osg::Image.

This commit is contained in:
Robert Osfield 2004-03-17 20:03:56 +00:00
parent 5fdbf1e986
commit 6800b7d29a

View File

@ -328,7 +328,7 @@ void Image::allocateImage(int s,int t,int r,
_pixelFormat = format;
_dataType = type;
_packing = packing;
_internalTextureFormat = format;
}
else
{
@ -340,6 +340,7 @@ void Image::allocateImage(int s,int t,int r,
_pixelFormat = 0;
_dataType = 0;
_packing = 0;
_internalTextureFormat = 0;
}
++_modifiedTag;