shithub: choc

Download patch

ref: 7c5fb110e2293ff7d1e38875ca63fb683575d921
parent: f5b04622c28e4af5c5bb93dfd10a7f1fe1312ec4
author: Fabian Greffrath <fabian@greffrath.com>
date: Sun Aug 7 14:16:43 EDT 2016

SetVideoMode(): remove unused "doompal" variable

--- a/src/i_video.c
+++ b/src/i_video.c
@@ -1006,14 +1006,11 @@
 
 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.