- removed the hasglnodes variables.
Since the software renderer also requires GL nodes now this was always true.
This commit is contained in:
parent
d140d767a4
commit
e279214f5b
5 changed files with 33 additions and 48 deletions
|
|
@ -872,7 +872,7 @@ CCMD(am_togglegrid)
|
|||
|
||||
CCMD(am_toggletexture)
|
||||
{
|
||||
if (am_textured && hasglnodes)
|
||||
if (am_textured)
|
||||
{
|
||||
textured = !textured;
|
||||
Printf ("%s\n", GStrings(textured ? "AMSTR_TEXON" : "AMSTR_TEXOFF"));
|
||||
|
|
@ -3212,11 +3212,7 @@ void AM_drawAuthorMarkers ()
|
|||
|
||||
while (marked != NULL)
|
||||
{
|
||||
// Use more correct info if we have GL nodes available
|
||||
if (mark->args[1] == 0 ||
|
||||
(mark->args[1] == 1 && (hasglnodes ?
|
||||
marked->subsector->flags & SSECMF_DRAWN :
|
||||
marked->Sector->MoreFlags & SECMF_DRAWN)))
|
||||
if (mark->args[1] == 0 || (mark->args[1] == 1 && (marked->subsector->flags & SSECMF_DRAWN)))
|
||||
{
|
||||
DrawMarker (tex, marked->X(), marked->Y(), 0, flip, mark->Scale.X, mark->Scale.Y, mark->Translation,
|
||||
mark->Alpha, mark->fillcolor, mark->RenderStyle);
|
||||
|
|
@ -3280,7 +3276,7 @@ void AM_Drawer (int bottom)
|
|||
}
|
||||
AM_activateNewScale();
|
||||
|
||||
if (am_textured && hasglnodes && textured && !viewactive)
|
||||
if (am_textured && textured && !viewactive)
|
||||
AM_drawSubsectors();
|
||||
|
||||
if (grid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue