mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-17 23:01:04 +00:00
SVN r533 (trunk)
This commit is contained in:
parent
f4dcfad331
commit
73f96e1df6
1 changed files with 6 additions and 8 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue