Remove the old colour-depth code
It's basically unused anyway
This commit is contained in:
parent
4b8a6849d3
commit
e216fa8e18
1 changed files with 0 additions and 16 deletions
16
src/Main.cpp
16
src/Main.cpp
|
@ -236,22 +236,6 @@ int main(int argc, char *argv[])
|
||||||
if (window == NULL)
|
if (window == NULL)
|
||||||
return 0;
|
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);
|
StartDirectDraw(window, 2);
|
||||||
bFullscreen = TRUE;
|
bFullscreen = TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue