Show
Ignore:
Timestamp:
04/22/09 12:47:44 (5 years ago)
Author:
robert
Message:

From Eric Sokolowsky, "src/osg/Image.cpp is missing the GL_RGBA8 image type when calculating the number of components in an image. It is added here."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/Image.cpp

    r9910 r10062  
    319319        case(GL_RGBA): return 4; 
    320320        case(GL_BGRA): return 4; 
     321        case(GL_RGBA8): return 4; 
    321322        case(GL_LUMINANCE): return 1; 
    322323        case(GL_LUMINANCE4): return 1;