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:
Bill Currie 2011-12-29 18:23:09 +09:00
parent 047b7bcc32
commit a87a60a6fd

View file

@ -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);
}