From db010219bc9d60e236ced9dfb4424230a32cb80d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 31 Jul 2010 10:20:31 +0000 Subject: [PATCH] From Farshid Lashkari, "I noticed that some of my applications output the following notification message: no PixelBufferObject 00000000, 00000000 pbo=00000000 It's kind of annoying since there is nothing actually wrong. The message is generated from TextureRectangle::applyTexImage_subload when it fails to create a pbo, even if the Image object is not even requesting to use a pbo. This message is not generated by all the other code in TextureRectangle.cpp & Texture.cpp that also attempts to create pbo's. I've modified TextureRectangle.cpp to remove this message, so it is at least consistent with the other code." --- src/osg/TextureRectangle.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/osg/TextureRectangle.cpp b/src/osg/TextureRectangle.cpp index 9a1d870a9..fdab0ce78 100644 --- a/src/osg/TextureRectangle.cpp +++ b/src/osg/TextureRectangle.cpp @@ -407,10 +407,6 @@ void TextureRectangle::applyTexImage_subload(GLenum target, Image* image, State& OSG_NOTICE<<"after PBO "<delta_m(start_tick,osg::Timer::instance()->tick())<<"ms"<getBufferObject()<<", "<getPixelBufferObject()<<" pbo="<isCompressedTexSubImage2DSupported())