Browse Source

Fix build, update menu

pull/2/head
Alibek Omarov 6 years ago
parent
commit
dcf64c6b33
  1. 2
      engine/client/gl_rmain.c
  2. 1
      engine/client/vid_common.c
  3. 2
      mainui

2
engine/client/gl_rmain.c

@ -782,7 +782,7 @@ void R_DrawFog( void )
if( !RI.fogEnabled ) return; if( !RI.fogEnabled ) return;
pglEnable( GL_FOG ); pglEnable( GL_FOG );
if( CL_IsQuakeCompatible( )) if( Host_IsQuakeCompatible( ))
pglFogi( GL_FOG_MODE, GL_EXP2 ); pglFogi( GL_FOG_MODE, GL_EXP2 );
else pglFogi( GL_FOG_MODE, GL_EXP ); else pglFogi( GL_FOG_MODE, GL_EXP );
pglFogf( GL_FOG_DENSITY, RI.fogDensity ); pglFogf( GL_FOG_DENSITY, RI.fogDensity );

1
engine/client/vid_common.c

@ -49,6 +49,7 @@ convar_t *window_ypos;
convar_t *r_speeds; convar_t *r_speeds;
convar_t *r_fullbright; convar_t *r_fullbright;
convar_t *r_norefresh; convar_t *r_norefresh;
convar_t *r_showtree;
convar_t *r_lighting_extended; convar_t *r_lighting_extended;
convar_t *r_lighting_modulate; convar_t *r_lighting_modulate;
convar_t *r_lighting_ambient; convar_t *r_lighting_ambient;

2
mainui

@ -1 +1 @@
Subproject commit 792072b73e3b2d9d6e0da1b9521959663973c98c Subproject commit bee475b934d48139e18cd4debf0c3f7196305fcb
Loading…
Cancel
Save