mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 06:31:56 +00:00
forgot to disable the stensil buffer for r_volfog
This commit is contained in:
parent
32b012dda0
commit
98e7670d66
1 changed files with 1 additions and 1 deletions
|
@ -1146,7 +1146,7 @@ else
|
|||
R_DrawWaterSurfaces ();
|
||||
if (r_volfog->value || r_fog->value)
|
||||
glDisable(GL_FOG);
|
||||
if (r_wateralpha->value<1.0) {
|
||||
if (r_wateralpha->value<1.0 || r_volfog->value) {
|
||||
glStencilFunc(GL_EQUAL, 1, 1);
|
||||
glStencilMask(GL_FALSE);
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
|
|
Loading…
Reference in a new issue