Added the setting of the _internalTextureFormat from within osg::Image.
This commit is contained in:
parent
5fdbf1e986
commit
6800b7d29a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user