mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix MSVC compiling warnings and remove an unused texture
This commit is contained in:
parent
093b1b47d9
commit
19ccc27d37
3 changed files with 1 additions and 3 deletions
|
@ -45,14 +45,13 @@ FontEngine::FontEngine(Settings* main_settings, gui::IGUIEnvironment* env) :
|
||||||
m_settings(main_settings),
|
m_settings(main_settings),
|
||||||
m_env(env),
|
m_env(env),
|
||||||
m_font_cache(),
|
m_font_cache(),
|
||||||
m_default_size(),
|
|
||||||
m_currentMode(FM_Standard),
|
m_currentMode(FM_Standard),
|
||||||
m_lastMode(),
|
m_lastMode(),
|
||||||
m_lastSize(0),
|
m_lastSize(0),
|
||||||
m_lastFont(NULL)
|
m_lastFont(NULL)
|
||||||
{
|
{
|
||||||
|
|
||||||
for ( unsigned int i = 0; i < FM_MaxMode; i++) {
|
for (unsigned int i = 0; i < FM_MaxMode; i++) {
|
||||||
m_default_size[i] = (FontMode) FONT_SIZE_UNSPECIFIED;
|
m_default_size[i] = (FontMode) FONT_SIZE_UNSPECIFIED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -86,7 +86,6 @@ private:
|
||||||
m_settings(NULL),
|
m_settings(NULL),
|
||||||
m_env(NULL),
|
m_env(NULL),
|
||||||
m_font_cache(),
|
m_font_cache(),
|
||||||
m_default_size(),
|
|
||||||
m_currentMode(FM_Standard),
|
m_currentMode(FM_Standard),
|
||||||
m_lastMode(),
|
m_lastMode(),
|
||||||
m_lastSize(0),
|
m_lastSize(0),
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB |
Loading…
Add table
Add a link
Reference in a new issue