mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-01-31 18:50:33 +00:00
Fixed missing xBRZ menu options on platforms without MMX support
xBRZ texture resize modes are no longer removed from menu for targets with HAVE_MMX undefined
This commit is contained in:
parent
da4981ef91
commit
03f9425eb1
1 changed files with 5 additions and 2 deletions
|
@ -84,8 +84,11 @@ void gl_SetupMenu()
|
||||||
{
|
{
|
||||||
for(int i = (*opt)->mValues.Size()-1; i>=0; i--)
|
for(int i = (*opt)->mValues.Size()-1; i>=0; i--)
|
||||||
{
|
{
|
||||||
// Delete HQnX resize modes for non MSVC targets
|
// Delete hqNx MMX resize modes for targets
|
||||||
if ((*opt)->mValues[i].Value >= 7.0)
|
// without support of this instruction set
|
||||||
|
const auto index = llround((*opt)->mValues[i].Value);
|
||||||
|
|
||||||
|
if (index > 6 && index < 10)
|
||||||
{
|
{
|
||||||
(*opt)->mValues.Delete(i);
|
(*opt)->mValues.Delete(i);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue