Show
Ignore:
Timestamp:
12/15/09 10:16:20 (3 years ago)
Author:
robert
Message:

Changed GL_BGRA_EXT to GL_BGRA and added include of include/osg/Image to make sure define is declared

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/quicktime/MovieData.cpp

    r9932 r10891  
    99#include <osg/GL> 
    1010#include <osg/Endian> 
     11#include <osg/Image> 
    1112#include <osgDB/FileNameUtils> 
    1213 
     
    159160    image->setImage(_textureWidth,_textureHeight,1, 
    160161                   (GLint) GL_RGBA8, 
    161                    (GLenum)GL_BGRA_EXT, 
     162                   (GLenum)GL_BGRA, 
    162163                   internalFormat, 
    163164                   (unsigned char*) buffer,osg::Image::NO_DELETE,4);