Skip to content

Commit a0d570a

Browse files
author
nitrocaster
committed
IGameFont: Fix non-interface class linkage warning.
1 parent 2e9ece1 commit a0d570a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/xrEngine/IGameFont.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class IGameFont
2121
};
2222

2323
public:
24-
virtual ~IGameFont() {}
24+
virtual ~IGameFont() = 0;
2525

2626
virtual void Initialize(LPCSTR shader, LPCSTR texture) = 0;
2727
virtual void SetColor(u32 C) = 0;
@@ -53,3 +53,5 @@ class IGameFont
5353
virtual void OnRender() = 0;
5454
virtual void Clear() = 0;
5555
};
56+
57+
IC IGameFont::~IGameFont() {}

0 commit comments

Comments
 (0)