mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-27 22:22:08 +00:00
- added missing hqNx modes to options menu
This commit is contained in:
parent
19ae244f66
commit
69813993b0
2 changed files with 17 additions and 0 deletions
|
@ -57,4 +57,18 @@ CUSTOM_CVAR (Float, vid_contrast, 1.f, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
|||
// when they are actually valid.
|
||||
void gl_SetupMenu()
|
||||
{
|
||||
#ifndef _MSC_VER
|
||||
FOptionValues **opt = OptionValues.CheckKey("HqResizeModes");
|
||||
if (opt != NULL)
|
||||
{
|
||||
for(int i = (*opt)->mValues.Size()-1; i>=0; i--)
|
||||
{
|
||||
// Delete HQnX resize modes for non MSVC targets
|
||||
if ((*opt)->mValues[i].Value >= 7.0)
|
||||
{
|
||||
(*opt)->mValues.Delete(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -103,6 +103,9 @@ OptionValue "HqResizeModes"
|
|||
4, "hq2x"
|
||||
5, "hq3x"
|
||||
6, "hq4x"
|
||||
7, "hq2x MMX"
|
||||
8, "hq3x MMX"
|
||||
9, "hq4x MMX"
|
||||
}
|
||||
|
||||
OptionValue "FogMode"
|
||||
|
|
Loading…
Reference in a new issue