Changeset 3201
- Timestamp:
- 07/28/04 14:38:54 (9 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osg/DrawPixels.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osg/DrawPixels.cpp
r1529 r3201 97 97 { 98 98 const GLvoid* pixels = _image->data(_offsetX,_offsetY); 99 glPixelStorei(GL_ PACK_ROW_LENGTH,_image->s());99 glPixelStorei(GL_UNPACK_ROW_LENGTH,_image->s()); 100 100 glDrawPixels(_width,_height, 101 101 (GLenum)_image->getPixelFormat(), 102 102 (GLenum)_image->getDataType(), 103 103 pixels); 104 glPixelStorei(GL_ PACK_ROW_LENGTH,0);104 glPixelStorei(GL_UNPACK_ROW_LENGTH,0); 105 105 } 106 106 else
