diff --git a/engine/client/gl_rmain.c b/engine/client/gl_rmain.c index b305b99f..46813497 100644 --- a/engine/client/gl_rmain.c +++ b/engine/client/gl_rmain.c @@ -782,7 +782,7 @@ void R_DrawFog( void ) if( !RI.fogEnabled ) return; pglEnable( GL_FOG ); - if( CL_IsQuakeCompatible( )) + if( Host_IsQuakeCompatible( )) pglFogi( GL_FOG_MODE, GL_EXP2 ); else pglFogi( GL_FOG_MODE, GL_EXP ); pglFogf( GL_FOG_DENSITY, RI.fogDensity ); diff --git a/engine/client/vid_common.c b/engine/client/vid_common.c index ca4e2fe1..e9531d53 100644 --- a/engine/client/vid_common.c +++ b/engine/client/vid_common.c @@ -49,6 +49,7 @@ convar_t *window_ypos; convar_t *r_speeds; convar_t *r_fullbright; convar_t *r_norefresh; +convar_t *r_showtree; convar_t *r_lighting_extended; convar_t *r_lighting_modulate; convar_t *r_lighting_ambient; diff --git a/mainui b/mainui index 792072b7..bee475b9 160000 --- a/mainui +++ b/mainui @@ -1 +1 @@ -Subproject commit 792072b73e3b2d9d6e0da1b9521959663973c98c +Subproject commit bee475b934d48139e18cd4debf0c3f7196305fcb