Fixed the pixelFormat to be RGBA.

This commit is contained in:
Robert Osfield
2005-02-10 15:53:19 +00:00
parent ec8624f185
commit eb803a420e

View File

@@ -173,7 +173,7 @@ void MpegImageStream::load(const char* fileName)
setImage(s, t, 1,
GL_RGB,
GL_BGRA, GL_UNSIGNED_BYTE, data,
GL_RGBA, GL_UNSIGNED_BYTE, data,
osg::Image::USE_NEW_DELETE);