mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
Clear the texture element chain after drawing.
It was properly cleared after drawing water chains and sky chains, but I had missed normal surfaces. It took the use of the same texture for both normal surfaces and water surfaces to trigger the bug. Thanks go to Simon 'Sock' O'Callaghan and his In The Shadows mod.
This commit is contained in:
parent
35aa510ddf
commit
43702580f5
1 changed files with 2 additions and 0 deletions
|
@ -1132,6 +1132,8 @@ glsl_R_DrawWorld (void)
|
||||||
quake_bsp.tlst.location,
|
quake_bsp.tlst.location,
|
||||||
quake_bsp.color.location);
|
quake_bsp.color.location);
|
||||||
}
|
}
|
||||||
|
tex->elechain = 0;
|
||||||
|
tex->elechain_tail = &tex->elechain;
|
||||||
}
|
}
|
||||||
bsp_end ();
|
bsp_end ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue