diff --git a/Quake/gl_vidsdl.c b/Quake/gl_vidsdl.c index 424b305d3..012ed0f5d 100644 --- a/Quake/gl_vidsdl.c +++ b/Quake/gl_vidsdl.c @@ -1108,8 +1108,6 @@ static void GL_SetStateEx (unsigned mask, unsigned force) if (diff & GLS_MASK_BLEND) { - extern cvar_t r_oit; - switch (mask & GLS_MASK_BLEND) { default: diff --git a/Quake/menu.c b/Quake/menu.c index f109247bc..80818d37c 100644 --- a/Quake/menu.c +++ b/Quake/menu.c @@ -7070,12 +7070,9 @@ static void M_UpdateBounds (void) void M_Draw (void) { - qboolean options; if (m_state == m_none || key_dest != key_menu) return; - options = (M_GetBaseState (m_state) == m_options); - M_UpdateBounds (); if (!m_recursiveDraw) diff --git a/Quake/r_part.c b/Quake/r_part.c index b55410d8b..ece94287e 100644 --- a/Quake/r_part.c +++ b/Quake/r_part.c @@ -734,7 +734,6 @@ static void R_DrawParticles_Real (qboolean alpha, qboolean showtris) particlevert_t *v; GLubyte color[4] = {255, 255, 255, 255}, *c; //johnfitz -- particle transparency extern cvar_t r_particles; //johnfitz - extern cvar_t r_oit; //float alpha; //johnfitz -- particle transparency float scalex, scaley; qboolean dither, oit;