diff --git a/src/engine/client/text.cpp b/src/engine/client/text.cpp index 51156cda0..47b0e3b80 100644 --- a/src/engine/client/text.cpp +++ b/src/engine/client/text.cpp @@ -608,7 +608,7 @@ public: m_Color = DefaultTextColor(); m_OutlineColor = DefaultTextOutlineColor(); - m_SelectionColor = DefaultSelectionColor(); + m_SelectionColor = DefaultTextSelectionColor(); m_pCurFont = nullptr; m_pDefaultFont = nullptr; diff --git a/src/engine/textrender.h b/src/engine/textrender.h index 4273f667b..23ad9d806 100644 --- a/src/engine/textrender.h +++ b/src/engine/textrender.h @@ -232,7 +232,7 @@ public: ColorRGBA DefaultTextColor() const { return ColorRGBA(1, 1, 1, 1); } ColorRGBA DefaultTextOutlineColor() const { return ColorRGBA(0, 0, 0, 0.3f); } - ColorRGBA DefaultSelectionColor() const { return ColorRGBA(0, 0, 1.0f, 1.0f); } + ColorRGBA DefaultTextSelectionColor() const { return ColorRGBA(0, 0, 1.0f, 1.0f); } // virtual void TextEx(CTextCursor *pCursor, const char *pText, int Length = -1) = 0;