mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-24 19:23:00 +00:00
Flush the text buffer before drawing conback or menus.
Ok, now really done until I notice something else (I forgot this one momentarily).
This commit is contained in:
parent
047b7bcc32
commit
a87a60a6fd
1 changed files with 3 additions and 0 deletions
|
@ -587,6 +587,8 @@ Draw_ConsoleBackground (int lines, byte alpha)
|
|||
{ 0, lines, 0, 1},
|
||||
};
|
||||
|
||||
GL_FlushText (); // Flush text that should be rendered before the console
|
||||
|
||||
qfglUseProgram (quake_icon.program);
|
||||
qfglEnableVertexAttribArray (quake_icon.vertex.location);
|
||||
|
||||
|
@ -635,6 +637,7 @@ Draw_FadeScreen (void)
|
|||
{
|
||||
static quat_t color = { 0, 0, 0, 0.7 };
|
||||
|
||||
GL_FlushText (); // Flush text that should be rendered before the menu
|
||||
draw_pic (0, 0, vid.conwidth, vid.conheight, white_pic, 0, 0, 8, 8, color);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue