Move the irradiance gen unbind to be within the correct scope. (#4798)
parent
dd59dd5d65
commit
9e71e1ca38
|
|
@ -998,11 +998,11 @@ void LLReflectionMapManager::updateProbeFace(LLReflectionMap* probe, U32 face)
|
|||
mTexture->bind(channel);
|
||||
}
|
||||
}
|
||||
|
||||
gIrradianceGenProgram.unbind();
|
||||
}
|
||||
|
||||
mMipChain[0].flush();
|
||||
|
||||
gIrradianceGenProgram.unbind();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue