mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-02-28 05:51:10 +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 ()
|
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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue