From f20bedd3dea9b6cab23d60412290af0f97b02d49 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 12 Apr 2011 12:51:43 +0100 Subject: [PATCH] info_box for renderer --- src/interface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/interface.c b/src/interface.c index e28cc3396..fb23073c2 100644 --- a/src/interface.c +++ b/src/interface.c @@ -774,7 +774,9 @@ void info_box(pixel *vid_buf, char *msg) clearrect(vid_buf, x0-2, y0-2, w+4, 28); drawrect(vid_buf, x0, y0, w, 24, 192, 192, 192, 255); drawtext(vid_buf, x0+8, y0+8, msg, 192, 192, 240, 255); +#ifndef RENDERER sdl_blit(0, 0, (XRES+BARSIZE), YRES+MENUSIZE, vid_buf, (XRES+BARSIZE)); +#endif } void copytext_ui(pixel *vid_buf, char *top, char *txt, char *copytxt)