Merge branch 'master' of https://github.com/raa-eruanna/qzdoom into qzdoom

This commit is contained in:
Magnus Norddahl 2016-12-31 14:00:22 +01:00
commit 5967016dbe

View file

@ -447,6 +447,11 @@ FMaterial::FMaterial(FTexture * tx, bool expanded)
}
else if (tx->bHasCanvas)
{
if (tx->gl_info.shaderindex >= FIRST_USER_SHADER)
{
mShaderIndex = tx->gl_info.shaderindex;
}
// no brightmap for cameratexture
}
else
{