Windows: Slight changes to ARM64 support.

* Disable NSIS installer if we're compiling for Windows ARM64.
* Allow arbitrary files to be added as LOVE_EXTRA_DLLS
This commit is contained in:
Miku AuahDark
2022-10-17 00:28:07 +08:00
parent 05efd121e5
commit 9deaa06a73
2 changed files with 24 additions and 12 deletions
+2 -4
View File
@@ -262,11 +262,9 @@ std::vector<Window::ContextAttribs> Window::getContextAttribsList() const
}
}
if (!preferGLES)
{
const char *gleshint = SDL_GetHint("LOVE_GRAPHICS_USE_OPENGLES");
const char *gleshint = SDL_GetHint("LOVE_GRAPHICS_USE_OPENGLES");
if (gleshint != nullptr)
preferGLES = (gleshint != nullptr && gleshint[0] != '0');
}
// Do we want a debug context?
bool debug = love::graphics::isDebugEnabled();