diff --git a/specter/lib/TextView.cpp b/specter/lib/TextView.cpp index bd4f33c4f..a1a55a331 100644 --- a/specter/lib/TextView.cpp +++ b/specter/lib/TextView.cpp @@ -79,6 +79,7 @@ void TextView::System::init(boo::GLDataFactory* factory, FontCache* fcache) false, false, false); } +#if _WIN32 void TextView::System::init(boo::ID3DDataFactory* factory, FontCache* fcache) { m_fcache = fcache; @@ -178,6 +179,7 @@ void TextView::System::init(boo::ID3DDataFactory* factory, FontCache* fcache) boo::BlendFactor::SrcColor1, boo::BlendFactor::InvSrcColor1, false, false, false); } +#endif TextView::TextView(ViewSystem& system, FontTag font, size_t capacity) : View(system), diff --git a/specter/lib/View.cpp b/specter/lib/View.cpp index 075c4a1a6..d32e635fc 100644 --- a/specter/lib/View.cpp +++ b/specter/lib/View.cpp @@ -42,6 +42,7 @@ void View::System::init(boo::GLDataFactory* factory) false, false, false); } +#ifdef _WIN32 void View::System::init(boo::ID3DDataFactory* factory) { static const char* VS = @@ -89,6 +90,7 @@ void View::System::init(boo::ID3DDataFactory* factory) boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha, false, false, false); } +#endif View::View(ViewSystem& system) {