Changeset 9910 for OpenSceneGraph/trunk/src/osg/Image.cpp
- Timestamp:
- 03/11/09 16:12:46 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osg/Image.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osg/Image.cpp
r9682 r9910 34 34 35 35 Image::Image() 36 :Object(true) 36 :Object(true), 37 _fileName(""), 38 _writeHint(NO_PREFERENCE), 39 _origin(BOTTOM_LEFT), 40 _s(0), _t(0), _r(0), 41 _internalTextureFormat(0), 42 _pixelFormat(0), 43 _dataType(0), 44 _packing(4), 45 _pixelAspectRatio(1.0), 46 _allocationMode(USE_NEW_DELETE), 47 _data(0L), 48 _modifiedCount(0) 37 49 { 38 50 setDataVariance(STATIC); 39 40 _fileName = "";41 _writeHint = NO_PREFERENCE;42 _origin = BOTTOM_LEFT;43 _s = _t = _r = 0;44 _internalTextureFormat = 0;45 _pixelFormat = (unsigned int)0;46 _dataType = (unsigned int)0;47 _packing = 4;48 49 _allocationMode = USE_NEW_DELETE;50 _data = (unsigned char *)0L;51 52 _modifiedCount = 0;53 51 } 54 52 … … 63 61 _dataType(image._dataType), 64 62 _packing(image._packing), 63 _pixelAspectRatio(image._pixelAspectRatio), 65 64 _data(0L), 66 65 _modifiedCount(image._modifiedCount),
