summaryrefslogtreecommitdiff
path: root/src/i_video.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-20 19:54:44 +0000
committerSimon Howard2008-09-20 19:54:44 +0000
commit96cfb635bef9e156f1c304e7f68b4bf0eeead891 (patch)
tree4069faf596add0450a1f4134755ee00f85941c54 /src/i_video.c
parentcb4c334c162601fa2e2675e293e2e4c7a6ae57e4 (diff)
downloadchocolate-doom-96cfb635bef9e156f1c304e7f68b4bf0eeead891.tar.gz
chocolate-doom-96cfb635bef9e156f1c304e7f68b4bf0eeead891.tar.bz2
chocolate-doom-96cfb635bef9e156f1c304e7f68b4bf0eeead891.zip
Add a dest_buffer pointer for the v_video code, and V_UseBuffer to allow
that to be temporarily changed. Make V_DrawBlock always draw to the screen. Subversion-branch: /branches/raven-branch Subversion-revision: 1246
Diffstat (limited to 'src/i_video.c')
-rw-r--r--src/i_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i_video.c b/src/i_video.c
index 5adc6b40..d3e7b31d 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -1617,6 +1617,7 @@ void I_InitGraphics(void)
PU_STATIC, NULL);
}
+ screens[0] = I_VideoBuffer;
V_RestoreBuffer();
// "Loading from disk" icon