Fix linux compiling

This commit is contained in:
Phillip Stephens 2015-11-27 17:40:59 -08:00
parent aeb69955ae
commit 7123652c95
2 changed files with 4 additions and 0 deletions

View File

@ -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),

View File

@ -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)
{