Added the use of pixel buffer object in ImageStream so that it is only

compiled in on non OSX platforms.
This commit is contained in:
Robert Osfield 2005-03-07 12:05:22 +00:00
parent f4b864f37b
commit a139d28a12

View File

@ -20,9 +20,13 @@ ImageStream::ImageStream():
_loopingMode(LOOPING)
{
setDataVariance(DYNAMIC);
#if 1
#ifndef __APPLE__
// disabled under OSX for time being while we resolve why PBO
// doesn't function properly under OSX.
setPixelBufferObject(new PixelBufferObject(this));
#endif
#endif
}
ImageStream::ImageStream(const ImageStream& image,const CopyOp& copyop):