Skip to content

Commit

Permalink
Make r_softemu 3 menu background more similar to the 1.06 one (sezero#20
Browse files Browse the repository at this point in the history
)
  • Loading branch information
andrei-drexler committed Jan 23, 2022
1 parent 7b40833 commit 7efd6a4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Quake/gl_draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,17 @@ void Draw_FadeScreen (void)
if (softemu >= SOFTEMU_BANDED)
{
Draw_SetTexture (whitetexture);
/* first pass */
Draw_SetBlending (GLS_BLEND_MULTIPLY);
GL_SetCanvasColor (0.5f, 0.4f, 0.05f, 1.f);
GL_SetCanvasColor (0.56f, 0.43f, 0.13f, 1.f);
verts = Draw_AllocQuad ();
Draw_SetVertex (verts++, 0, 0, 0.f, 0.f);
Draw_SetVertex (verts++, glwidth, 0, smax, 0.f);
Draw_SetVertex (verts++, glwidth, glheight, smax, tmax);
Draw_SetVertex (verts++, 0, glheight, 0.f, tmax);
/* second pass */
Draw_SetBlending (GLS_BLEND_ALPHA);
GL_SetCanvasColor (0.095f, 0.08f, 0.045f, 0.6f);
}
else if (softemu == SOFTEMU_COARSE)
{
Expand Down

0 comments on commit 7efd6a4

Please sign in to comment.