From bd13580ff518d59508db12ca934e0480241ad557 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 8 Feb 2011 14:36:15 +0000 Subject: [PATCH] Added const --- src/osg/Texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index 6b9cc819b..2a06fa6e3 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -1959,7 +1959,7 @@ void Texture::applyTexImage2D_load(State& state, GLenum target, const Image* ima { state.unbindPixelBufferObject(); - BufferObject* bo = image->getBufferObject(); + const BufferObject* bo = image->getBufferObject(); if (bo->getCopyDataAndReleaseGLBufferObject()) { //OSG_NOTICE<<"Release PBO"<