From a87a60a6fdaae5ad4c6ca66c7b76451e18ce5ea7 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 29 Dec 2011 18:23:09 +0900 Subject: [PATCH] Flush the text buffer before drawing conback or menus. Ok, now really done until I notice something else (I forgot this one momentarily). --- libs/video/renderer/glsl/glsl_draw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/video/renderer/glsl/glsl_draw.c b/libs/video/renderer/glsl/glsl_draw.c index 91a72edd8..1f9c99c3c 100644 --- a/libs/video/renderer/glsl/glsl_draw.c +++ b/libs/video/renderer/glsl/glsl_draw.c @@ -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); }