summaryrefslogtreecommitdiff
path: root/src/heretic/m_misc.c
diff options
context:
space:
mode:
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