diff --git a/src/gl/system/gl_menu.cpp b/src/gl/system/gl_menu.cpp index 11534436b4..8dffbc4f21 100644 --- a/src/gl/system/gl_menu.cpp +++ b/src/gl/system/gl_menu.cpp @@ -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); }