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 ()
{
//int dummy1, dummy2;
//size_t currval = 0;
//char name[24];
int dummy1, dummy2;
size_t currval = 0;
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());
if (Video->NextMode (&dummy1, &dummy2, NULL))
{
/*
Depths[currval].value = currval;
sprintf (name, "%d bit", i);
Depths[currval].name = copystring (name);
BitTranslate[currval] = i;
currval++;
*/
BitTranslate[currval++] = i;
}
}
*/
//ModesItems[VM_DEPTHITEM].b.min = (float)currval;