mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-03 00:42:36 +00:00
Merge branch 'master' of https://github.com/raa-eruanna/qzdoom into qzdoom
This commit is contained in:
commit
5967016dbe
1 changed files with 5 additions and 0 deletions
|
@ -447,6 +447,11 @@ FMaterial::FMaterial(FTexture * tx, bool expanded)
|
||||||
}
|
}
|
||||||
else if (tx->bHasCanvas)
|
else if (tx->bHasCanvas)
|
||||||
{
|
{
|
||||||
|
if (tx->gl_info.shaderindex >= FIRST_USER_SHADER)
|
||||||
|
{
|
||||||
|
mShaderIndex = tx->gl_info.shaderindex;
|
||||||
|
}
|
||||||
|
// no brightmap for cameratexture
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue