shithub: cstory

Download patch

ref: e216fa8e184430af0db05d8e04def6dddc9db13d
parent: 4b8a6849d32d500af243f8c869beccb9f49b6bdf
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Sep 8 19:58:48 EDT 2019

Remove the old colour-depth code

It's basically unused anyway

--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -236,22 +236,6 @@
 			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;
 
--