diff --git a/projects/android/Android.mk b/projects/android/Android.mk index 44ef2575..7da663ae 100644 --- a/projects/android/Android.mk +++ b/projects/android/Android.mk @@ -58,7 +58,7 @@ LOCAL_SRC_FILES := \ $(SRCDIR)/mupenplus/Config_mupenplus.cpp \ $(SRCDIR)/mupenplus/MupenPlusAPIImpl.cpp \ $(SRCDIR)/mupenplus/OpenGL_mupenplus.cpp \ -# $(SRCDIR)/TextDrawer.cpp \ + $(SRCDIR)/TextDrawerStub.cpp \ LOCAL_CFLAGS := \ $(COMMON_CFLAGS) \ diff --git a/src/TextDrawerStub.cpp b/src/TextDrawerStub.cpp new file mode 100644 index 00000000..1487c4bc --- /dev/null +++ b/src/TextDrawerStub.cpp @@ -0,0 +1,11 @@ +#include "TextDrawer.h" + +TextDrawer::TextDrawer() {} +void TextDrawer::init() {} +void TextDrawer::destroy() {} +void TextDrawer::renderText(const char * /*_pText*/, float /*x*/, float /*y*/) const {} +TextDrawer & TextDrawer::get() { + static TextDrawer drawer; + return drawer; +} +