From 6800b7d29af5749187b7e767ba7db53e3fbc3557 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 17 Mar 2004 20:03:56 +0000 Subject: [PATCH] Added the setting of the _internalTextureFormat from within osg::Image. --- src/osg/Image.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;