mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-20 19:45:22 +02:00
Irrlicht: Get rid of obsolete setDebugName
(#15541)
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
@@ -30,10 +30,6 @@ GUIEditBoxWithScrollBar::GUIEditBoxWithScrollBar(const wchar_t* text, bool borde
|
||||
: GUIEditBox(environment, parent, id, rectangle, border, writable),
|
||||
m_background(true), m_bg_color_used(false), m_tsrc(tsrc)
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
setDebugName("GUIEditBoxWithScrollBar");
|
||||
#endif
|
||||
|
||||
|
||||
Text = text;
|
||||
|
||||
|
@@ -1015,10 +1015,6 @@ GUIHyperText::GUIHyperText(const wchar_t *text, IGUIEnvironment *environment,
|
||||
m_drawer(text, client, environment, tsrc), m_text_scrollpos(0, 0)
|
||||
{
|
||||
|
||||
#ifdef _DEBUG
|
||||
setDebugName("GUIHyperText");
|
||||
#endif
|
||||
|
||||
IGUISkin *skin = 0;
|
||||
if (Environment)
|
||||
skin = Environment->getSkin();
|
||||
|
@@ -254,9 +254,6 @@ CGUITTFont::CGUITTFont(IGUIEnvironment *env)
|
||||
batch_load_size(1), Device(0), Environment(env), Driver(0), GlobalKerningWidth(0), GlobalKerningHeight(0),
|
||||
shadow_offset(0), shadow_alpha(0), fallback(0)
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
setDebugName("CGUITTFont");
|
||||
#endif
|
||||
|
||||
if (Environment)
|
||||
{
|
||||
|
@@ -30,10 +30,6 @@ StaticText::StaticText(const EnrichedString &text, bool border,
|
||||
RestrainTextInside(true), RightToLeft(false),
|
||||
OverrideFont(0), LastBreakFont(0)
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
setDebugName("StaticText");
|
||||
#endif
|
||||
|
||||
setText(text);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user