mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
Multitexture state fix. Harmless so far, but testing carefully helps us avoid
state leak horrors.
This commit is contained in:
parent
8c6cc34f83
commit
e29e469646
1 changed files with 2 additions and 2 deletions
|
@ -323,8 +323,8 @@ R_DrawViewModel (void)
|
|||
|
||||
R_DrawAliasModel (currententity);
|
||||
qfglColor3ubv (color_white);
|
||||
if (gl_mtex_active_tmus) { // FIXME: Ugly, but faster than cleaning up in
|
||||
// every R_DrawAliasModel()!
|
||||
if (gl_mtex_active_tmus >= 2) { // FIXME: Ugly, but faster than cleaning
|
||||
// up in every R_DrawAliasModel()!
|
||||
qglActiveTexture (gl_mtex_enum + 1);
|
||||
qfglEnable (GL_TEXTURE_2D);
|
||||
if (gl_combine_capable && gl_doublebright->int_val) {
|
||||
|
|
Loading…
Reference in a new issue