foxygit / doom Log in
commit 7c5fb110e2293ff7d1e38875ca63fb683575d921
Author:     Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Sun Aug 7 18:16:43 2016 +0200
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Mon Aug 8 14:00:14 2016 +0200

    SetVideoMode(): remove unused "doompal" variable
---
 src/i_video.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/i_video.c b/src/i_video.c
index bc86aaaf..0c0311bb 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -1006,15 +1006,12 @@ static void GetWindowPosition(int *x, int *y)

 static void SetVideoMode(void)
 {
-    byte *doompal;
     int w, h;
     int x, y;
     unsigned int rmask, gmask, bmask, amask;
     int unused_bpp;
     int window_flags = 0, renderer_flags = 0;

-    doompal = W_CacheLumpName(DEH_String("PLAYPAL"), PU_CACHE);
-
     // If we are already running, we need to free the screenbuffer
     // surface before setting the new mode.