summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2011-04-12 11:51:43 (GMT)
committer Simon <simon@hardwired.org.uk>2011-04-12 11:51:43 (GMT)
commitf20bedd3dea9b6cab23d60412290af0f97b02d49 (patch)
tree1c1e9c3861211482b7d511f77753a87f91d86596 /src/interface.c
parent664b578d130e4c12a66162e5196b2093557933ed (diff)
downloadpowder-f20bedd3dea9b6cab23d60412290af0f97b02d49.zip
powder-f20bedd3dea9b6cab23d60412290af0f97b02d49.tar.gz
info_box for renderer
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index e28cc33..fb23073 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)