mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
Fix unsugned/signed comparison warning
This commit is contained in:
parent
bb2f89b497
commit
7d776609c8
@ -490,7 +490,7 @@ void OMW::Engine::createWindow(Settings::Manager& settings)
|
|||||||
bool fullscreen = settings.getBool("fullscreen", "Video");
|
bool fullscreen = settings.getBool("fullscreen", "Video");
|
||||||
bool windowBorder = settings.getBool("window border", "Video");
|
bool windowBorder = settings.getBool("window border", "Video");
|
||||||
bool vsync = settings.getBool("vsync", "Video");
|
bool vsync = settings.getBool("vsync", "Video");
|
||||||
int antialiasing = settings.getInt("antialiasing", "Video");
|
unsigned int antialiasing = std::max(0, settings.getInt("antialiasing", "Video"));
|
||||||
|
|
||||||
int pos_x = SDL_WINDOWPOS_CENTERED_DISPLAY(screen),
|
int pos_x = SDL_WINDOWPOS_CENTERED_DISPLAY(screen),
|
||||||
pos_y = SDL_WINDOWPOS_CENTERED_DISPLAY(screen);
|
pos_y = SDL_WINDOWPOS_CENTERED_DISPLAY(screen);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user