Commit 001ebbdd2e5f581dd5653e0e787938883cc16ceb

sammy 2008-04-29T11:18:48

* Remove useless overriden methods in FTGLBitmapFont that reimplemented the same thing as in FTFont.

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)