mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Small setting-related fixes (#13755)
This commit is contained in:
parent
852d6a7976
commit
7b56daa236
4 changed files with 20 additions and 9 deletions
|
@ -124,7 +124,7 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver)
|
|||
// bpp, fsaa, vsync
|
||||
bool vsync = g_settings->getBool("vsync");
|
||||
bool enable_fsaa = g_settings->get("antialiasing") == "fsaa";
|
||||
u16 fsaa = enable_fsaa ? g_settings->getU16("fsaa") : 0;
|
||||
u16 fsaa = enable_fsaa ? MYMAX(2, g_settings->getU16("fsaa")) : 0;
|
||||
|
||||
// Determine driver
|
||||
auto driverType = chooseVideoDriver();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue