mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-01-19 13:40:51 +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--)
|
||||
{
|
||||
// Delete HQnX resize modes for non MSVC targets
|
||||
if ((*opt)->mValues[i].Value >= 7.0)
|
||||
// Delete hqNx MMX resize modes for targets
|
||||
// without support of this instruction set
|
||||
const auto index = llround((*opt)->mValues[i].Value);
|
||||
|
||||
if (index > 6 && index < 10)
|
||||
{
|
||||
(*opt)->mValues.Delete(i);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue