mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Minor compile fixes.
This commit is contained in:
parent
f9c9e4fba7
commit
61f369be94
1 changed files with 2 additions and 10 deletions
|
@ -811,10 +811,6 @@ R_DrawBrushModel (entity_t *e)
|
|||
R_RotateForEntity (e);
|
||||
e->angles[0] = -e->angles[0]; // stupid quake bug
|
||||
|
||||
// LordHavoc: anyone without multitexture won't want texsort 0 anyway...
|
||||
if (!gl_mtex_active)
|
||||
Cvar_SetValue (gl_texsort, 1);
|
||||
|
||||
glTexEnvf (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
|
||||
|
||||
//
|
||||
|
@ -989,10 +985,6 @@ R_DrawWorld (void)
|
|||
|
||||
currententity = &ent;
|
||||
|
||||
// LordHavoc: anyone without multitexture won't want texsort 0 anyway...
|
||||
if (!gl_mtex_active)
|
||||
Cvar_SetValue (gl_texsort, 1);
|
||||
|
||||
glColor3f (1.0, 1.0, 1.0);
|
||||
memset (lightmap_polys, 0, sizeof (lightmap_polys));
|
||||
memset (fullbright_polys, 0, sizeof (fullbright_polys));
|
||||
|
@ -1309,7 +1301,7 @@ GL_BuildLightmaps (void)
|
|||
}
|
||||
}
|
||||
|
||||
if (gl_mtex_active && !gl_texsort->int_val)
|
||||
if (!gl_texsort->int_val)
|
||||
qglSelectTexture (gl_mtex_enum + 1);
|
||||
|
||||
//
|
||||
|
@ -1331,6 +1323,6 @@ GL_BuildLightmaps (void)
|
|||
GL_UNSIGNED_BYTE, lightmaps[i]);
|
||||
}
|
||||
|
||||
if (gl_mtex_active && !gl_texsort->int_val)
|
||||
if (!gl_texsort->int_val)
|
||||
qglSelectTexture (gl_mtex_enum + 0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue