* Remove useless overriden methods in FTGLBitmapFont that reimplemented the same thing as in FTFont.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
diff --git a/include/FTGLBitmapFont.h b/include/FTGLBitmapFont.h
index d069525..f7e6823 100644
--- a/include/FTGLBitmapFont.h
+++ b/include/FTGLBitmapFont.h
@@ -69,36 +69,6 @@ class FTGL_EXPORT FTGLBitmapFont : public FTFont
* Destructor
*/
~FTGLBitmapFont();
-
- /**
- * Renders a string of characters
- *
- * @param string 'C' style string to be output.
- */
- void Render(const char* string);
-
- /**
- * Render a string of characters
- *
- * @param string 'C' style string to be output.
- * @param renderMode Render mode to display
- */
- void Render(const char* string, int renderMode) { Render(string); }
-
- /**
- * Renders a string of characters
- *
- * @param string 'C' style wide string to be output.
- */
- void Render(const wchar_t* string);
-
- /**
- * Render a string of characters
- *
- * @param string wchar_t string to be output.
- * @param renderMode Render mode to display
- */
- void Render(const wchar_t *string, int renderMode) { Render(string); }
};
#endif //__cplusplus
diff --git a/src/FTGLBitmapFont.cpp b/src/FTGLBitmapFont.cpp
index a41c80d..9e78ec9 100644
--- a/src/FTGLBitmapFont.cpp
+++ b/src/FTGLBitmapFont.cpp
@@ -132,19 +132,6 @@ void FTGLBitmapFontImpl::Render(const wchar_t* string)
}
-/* FIXME: is this needed? */
-void FTGLBitmapFont::Render(const char* string)
-{
- impl->Render(string);
-}
-
-
-void FTGLBitmapFont::Render(const wchar_t* string)
-{
- impl->Render(string);
-}
-
-
namespace C
{
extern "C" FTGLfont* ftglCreateBitmapFont(const char *fontname)