- Timestamp:
- 10/07/10 13:53:28 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgphotoalbum/PhotoArchive.cpp
r11828 r11829 216 216 } 217 217 218 PixelStorageModes psm;218 osg::PixelStorageModes psm; 219 219 psm.pack_alignment = image->getPacking(); 220 220 psm.unpack_alignment = image->getPacking(); 221 221 222 GLint status = gluScaleImage(&psm, image->getPixelFormat(),222 GLint status = osg::gluScaleImage(&psm, image->getPixelFormat(), 223 223 image->s(), 224 224 image->t(), … … 234 234 delete [] newData; 235 235 236 osg::notify(osg::WARN) << "Error scaleImage() did not succeed : errorString = "<< gluErrorString((GLenum)status)<<std::endl;236 osg::notify(osg::WARN) << "Error scaleImage() did not succeed : errorString = "<<osg::gluErrorString((GLenum)status)<<std::endl; 237 237 } 238 238 … … 283 283 } 284 284 285 PixelStorageModes psm;285 osg::PixelStorageModes psm; 286 286 psm.pack_alignment = image->getPacking(); 287 287 psm.unpack_alignment = image->getPacking(); 288 288 289 GLint status = gluScaleImage(&psm, image->getPixelFormat(),289 GLint status = osg::gluScaleImage(&psm, image->getPixelFormat(), 290 290 image->s(), 291 291 image->t(), … … 301 301 delete [] newData; 302 302 303 osg::notify(osg::WARN) << "Error scaleImage() did not succeed : errorString = "<< gluErrorString((GLenum)status)<<std::endl;303 osg::notify(osg::WARN) << "Error scaleImage() did not succeed : errorString = "<<osg::gluErrorString((GLenum)status)<<std::endl; 304 304 } 305 305
