forked from Mirrorlandia_minetest/irrlicht
SDL: set default for ActiveIcon
getActiveIcon() may be called before ActiveIcon is initialized, leading to undefined behavior.
This commit is contained in:
parent
6779ac83f9
commit
330150854b
@ -260,7 +260,7 @@ namespace irr
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
std::vector<std::unique_ptr<SDL_Cursor, CursorDeleter>> Cursors;
|
std::vector<std::unique_ptr<SDL_Cursor, CursorDeleter>> Cursors;
|
||||||
gui::ECURSOR_ICON ActiveIcon;
|
gui::ECURSOR_ICON ActiveIcon = gui::ECURSOR_ICON::ECI_NORMAL;
|
||||||
};
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user