mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Fix MSVC compiling warnings and remove an unused texture
This commit is contained in:
parent
093b1b47d9
commit
19ccc27d37
@ -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…
Reference in New Issue
Block a user