From e216fa8e184430af0db05d8e04def6dddc9db13d Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sun, 8 Sep 2019 23:58:48 +0000 Subject: [PATCH] Remove the old colour-depth code It's basically unused anyway --- src/Main.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/Main.cpp b/src/Main.cpp index 873c0bc6..2e31d835 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -236,22 +236,6 @@ int main(int argc, char *argv[]) if (window == NULL) return 0; - // Set colour depth - int depth; - - switch (conf.display_mode) - { - case 0: - depth = 16; - break; - case 3: - depth = 24; - break; - case 4: - depth = 32; - break; - } - StartDirectDraw(window, 2); bFullscreen = TRUE;