From 53b6d0c92e4550d0e97c4cecea3ae7cc3208ab7d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 21 Jun 2002 15:14:29 +0000 Subject: [PATCH] Bug fix to the size calculation of bmp images, changed both the reading and writing of images. --- src/osgPlugins/bmp/ReaderWriterBMP.cpp | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/src/osgPlugins/bmp/ReaderWriterBMP.cpp b/src/osgPlugins/bmp/ReaderWriterBMP.cpp index 146c0bfc7..8d0192f00 100644 --- a/src/osgPlugins/bmp/ReaderWriterBMP.cpp +++ b/src/osgPlugins/bmp/ReaderWriterBMP.cpp @@ -196,7 +196,16 @@ int *numComponents_ret) inf.ColorUsed=(long)pow(2.0,(double)inf.Colorbits); // infer the colours } osg::notify(osg::INFO) << "readbmp " <