Fixed noisemap not binding for the nightvision shader.

This commit is contained in:
Shyotl
2012-08-03 13:10:16 -05:00
parent 1d1947c51a
commit c385133c84
2 changed files with 23 additions and 23 deletions

View File

@@ -380,7 +380,7 @@ bool LLTexUnit::bind(LLRenderTarget* renderTarget, bool bindDepth)
if (bindDepth)
{
if (renderTarget->hasStencil() && renderTarget->getFBO())
if (renderTarget->hasStencil())
{
llerrs << "Cannot bind a render buffer for sampling. Allocate render target without a stencil buffer if sampling of depth buffer is required." << llendl;
}