From eb803a420e1349dd36c75a4887db0f7249323b95 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 10 Feb 2005 15:53:19 +0000 Subject: [PATCH] Fixed the pixelFormat to be RGBA. --- src/osgPlugins/mpeg/MpegImageStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/mpeg/MpegImageStream.cpp b/src/osgPlugins/mpeg/MpegImageStream.cpp index 48853a941..4d175a022 100644 --- a/src/osgPlugins/mpeg/MpegImageStream.cpp +++ b/src/osgPlugins/mpeg/MpegImageStream.cpp @@ -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);