Added const

This commit is contained in:
Robert Osfield 2011-02-08 14:36:15 +00:00
parent 4b4754c3cf
commit bd13580ff5

View File

@ -1959,7 +1959,7 @@ void Texture::applyTexImage2D_load(State& state, GLenum target, const Image* ima
{ {
state.unbindPixelBufferObject(); state.unbindPixelBufferObject();
BufferObject* bo = image->getBufferObject(); const BufferObject* bo = image->getBufferObject();
if (bo->getCopyDataAndReleaseGLBufferObject()) if (bo->getCopyDataAndReleaseGLBufferObject())
{ {
//OSG_NOTICE<<"Release PBO"<<std::endl; //OSG_NOTICE<<"Release PBO"<<std::endl;