commit f794c7692bac019f9f91cc821382a3f2d3b1011d
Author: Simon Howard <fraggle@soulsphere.org>
AuthorDate: Fri Jan 1 21:51:42 2016 +0100
Commit: Simon Howard <fraggle@soulsphere.org>
CommitDate: Fri Jan 1 21:51:42 2016 +0100
video: Remove unused variables.
Some of these are the result of the previous commit removing software
scaling code, and some are because of a merge conflict merging the
disk icon code.
---
src/i_video.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/src/i_video.c b/src/i_video.c
index dcfc3c5c..0e53da2b 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -164,13 +164,8 @@ int show_diskicon = 1;
// Only display the disk icon if more then this much bytes have been read
// during the previous tic.
-static const int diskicon_threshold = 20*1024;
int diskicon_readbytes = 0;
-// if true, I_VideoBuffer is screen->pixels
-
-static boolean native_surface;
-
// Screen width and height, from configuration file.
int screen_width = SCREENWIDTH;
@@ -226,11 +221,8 @@ static boolean noblit;
static grabmouse_callback_t grabmouse_callback = NULL;
-// disk image data and background overwritten by the disk to be
-// restored by EndRead
+// Does the window currently have focus?
-static byte *disk_image = NULL;
-static byte *saved_background;
static boolean window_focused = true;
// Empty mouse cursor