Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-drexler committed Oct 8, 2024
1 parent 7ea3080 commit 8ceceb0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions Quake/gl_vidsdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 0 additions & 3 deletions Quake/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion Quake/r_part.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8ceceb0

Please sign in to comment.