Remove the old colour-depth code

It's basically unused anyway
This commit is contained in:
Clownacy 2019-09-08 23:58:48 +00:00
parent 4b8a6849d3
commit e216fa8e18

View file

@ -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;