0
0
Fork 0
mirror of https://github.com/ZDoom/qzdoom-gpl.git synced 2025-02-27 21:50:47 +00:00

SVN r533 (trunk)

This commit is contained in:
Christoph Oelckers 2007-05-21 17:02:43 +00:00
parent f4dcfad331
commit 73f96e1df6

View file

@ -1225,26 +1225,24 @@ void M_OptInit (void)
void M_InitVideoModesMenu () void M_InitVideoModesMenu ()
{ {
//int dummy1, dummy2; int dummy1, dummy2;
//size_t currval = 0; size_t currval = 0;
//char name[24];
M_RefreshModesList(); M_RefreshModesList();
/* for (unsigned int i = 1; i <= 32 && currval < countof(Depths); i++)
for (unsigned int i = 1; i < 32 && currval < countof(Depths); i++)
{ {
Video->StartModeIterator (i, screen->IsFullscreen()); Video->StartModeIterator (i, screen->IsFullscreen());
if (Video->NextMode (&dummy1, &dummy2, NULL)) if (Video->NextMode (&dummy1, &dummy2, NULL))
{ {
/*
Depths[currval].value = currval; Depths[currval].value = currval;
sprintf (name, "%d bit", i); sprintf (name, "%d bit", i);
Depths[currval].name = copystring (name); Depths[currval].name = copystring (name);
BitTranslate[currval] = i; */
currval++; BitTranslate[currval++] = i;
} }
} }
*/
//ModesItems[VM_DEPTHITEM].b.min = (float)currval; //ModesItems[VM_DEPTHITEM].b.min = (float)currval;