mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fix uninitialized variables
This commit is contained in:
parent
9735c45db6
commit
409bb7722c
1 changed files with 2 additions and 2 deletions
|
|
@ -440,8 +440,8 @@ static void X11Toolkit_SettingsNotify(const char *name, XSettingsAction action,
|
|||
if (SDL_strcmp(name, SDL_XSETTINGS_GDK_WINDOW_SCALING_FACTOR) == 0 ||
|
||||
SDL_strcmp(name, SDL_XSETTINGS_GDK_UNSCALED_DPI) == 0 ||
|
||||
SDL_strcmp(name, SDL_XSETTINGS_XFT_DPI) == 0) {
|
||||
bool dbe_already_setup;
|
||||
bool pixmap_already_setup;
|
||||
bool dbe_already_setup = false;
|
||||
bool pixmap_already_setup = false;
|
||||
|
||||
if (window->pixmap) {
|
||||
pixmap_already_setup = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue