Added const
This commit is contained in:
parent
4b4754c3cf
commit
bd13580ff5
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user