diff --git a/src/osg/Image.cpp b/src/osg/Image.cpp index 5063f0a75..04fd3c09c 100644 --- a/src/osg/Image.cpp +++ b/src/osg/Image.cpp @@ -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;