From 8f68ca9cf119598f3daef9838110ccc288efa8e5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 17 Oct 2003 10:27:18 +0000 Subject: [PATCH] Set default values for datatype & pixelformat. --- src/osgDB/ImageOptions.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osgDB/ImageOptions.cpp b/src/osgDB/ImageOptions.cpp index e08a094af..273eefe7e 100644 --- a/src/osgDB/ImageOptions.cpp +++ b/src/osgDB/ImageOptions.cpp @@ -22,4 +22,7 @@ void ImageOptions::init() _sourceImageWindowMode = ALL_IMAGE; _destinationImageWindowMode = ALL_IMAGE; + + _destinationDataType = GL_NONE; + _destinationPixelFormat = GL_NONE; }