From J.P. Delport, fixed bug caused by a typo in PixelBufferObject constructor
This commit is contained in:
parent
ae7dfc5796
commit
dff56a15c6
@ -1326,7 +1326,7 @@ PixelBufferObject::PixelBufferObject(osg::Image* image):
|
||||
BufferObject()
|
||||
{
|
||||
setTarget(GL_PIXEL_UNPACK_BUFFER_ARB);
|
||||
setTarget(GL_STREAM_DRAW_ARB);
|
||||
setUsage(GL_STREAM_DRAW_ARB);
|
||||
|
||||
osg::notify(osg::NOTICE)<<"Constructing PixelBufferObject for image="<<image<<std::endl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user