mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-12 21:22:22 +00:00
Merge branch 'master' of https://github.com/coelckers/gzdoom
This commit is contained in:
commit
eab28fc150
2 changed files with 12 additions and 0 deletions
|
@ -448,6 +448,12 @@ void GLFlat::Draw(int pass, bool trans) // trans only has meaning for GLPASS_LIG
|
|||
case GLPASS_LIGHTTEX_ADDITIVE:
|
||||
DrawLightsCompat(pass);
|
||||
break;
|
||||
|
||||
case GLPASS_TEXONLY:
|
||||
gl_RenderState.SetMaterial(gltexture, CLAMP_NONE, 0, -1, false);
|
||||
gl_SetPlaneTextureRotation(&plane, gltexture);
|
||||
DrawSubsectors(pass, false, false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -442,10 +442,16 @@ void GLWall::Draw(int pass)
|
|||
RenderTranslucentWall();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case GLPASS_LIGHTTEX:
|
||||
case GLPASS_LIGHTTEX_ADDITIVE:
|
||||
RenderLightsCompat(pass);
|
||||
break;
|
||||
|
||||
case GLPASS_TEXONLY:
|
||||
gl_RenderState.SetMaterial(gltexture, flags & 3, 0, -1, false);
|
||||
RenderWall(RWF_TEXTURED);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue