summaryrefslogtreecommitdiff
path: root/src/heretic/m_misc.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-20 21:37:33 +0000
committerSimon Howard2008-09-20 21:37:33 +0000
commit71d54112ed3ffc780846a222e3dd45368acd3d88 (patch)
tree98f47a604f591ebf2919612a36291b12b64b86da /src/heretic/m_misc.c
parent7c1407ea7171f83287b720ec65450940c9cbf158 (diff)
downloadchocolate-doom-71d54112ed3ffc780846a222e3dd45368acd3d88.tar.gz
chocolate-doom-71d54112ed3ffc780846a222e3dd45368acd3d88.tar.bz2
chocolate-doom-71d54112ed3ffc780846a222e3dd45368acd3d88.zip
Replace heretic "screen" variable with I_VideoBuffer.
Subversion-branch: /branches/raven-branch Subversion-revision: 1253
Diffstat (limited to 'src/heretic/m_misc.c')
-rw-r--r--src/heretic/m_misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/heretic/m_misc.c b/src/heretic/m_misc.c
index 951dce0c..fe969f4c 100644
--- a/src/heretic/m_misc.c
+++ b/src/heretic/m_misc.c
@@ -32,6 +32,7 @@
#include "doomdef.h"
#include "i_swap.h"
+#include "i_video.h"
#include "s_sound.h"
int myargc;
@@ -777,7 +778,7 @@ void M_ScreenShot(void)
#ifdef _WATCOMC_
linear = pcscreen;
#else
- linear = screen;
+ linear = I_VideoBuffer;
#endif
//
// find a file name to save it to