Added support for multiple graphics contexts to osg::Texture and its

subclasses.
This commit is contained in:
Robert Osfield
2002-09-04 08:14:04 +00:00
parent d5f87e919d
commit 6ff24b338f
6 changed files with 41 additions and 22 deletions

View File

@@ -117,7 +117,7 @@ void Texture3D::apply(State& state) const
{
glBindTexture( GL_TEXTURE_3D, handle );
if (_texParametersDirty) applyTexParameters(GL_TEXTURE_3D,state);
if (getTextureParameterDity(state.getContextID())) applyTexParameters(GL_TEXTURE_3D,state);
if (_subloadCallback.valid())
{