mirror of https://github.com/AxioDL/metaforce.git
Fix linux compiling
This commit is contained in:
parent
aeb69955ae
commit
7123652c95
|
@ -79,6 +79,7 @@ void TextView::System::init(boo::GLDataFactory* factory, FontCache* fcache)
|
||||||
false, false, false);
|
false, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if _WIN32
|
||||||
void TextView::System::init(boo::ID3DDataFactory* factory, FontCache* fcache)
|
void TextView::System::init(boo::ID3DDataFactory* factory, FontCache* fcache)
|
||||||
{
|
{
|
||||||
m_fcache = fcache;
|
m_fcache = fcache;
|
||||||
|
@ -178,6 +179,7 @@ void TextView::System::init(boo::ID3DDataFactory* factory, FontCache* fcache)
|
||||||
boo::BlendFactor::SrcColor1, boo::BlendFactor::InvSrcColor1,
|
boo::BlendFactor::SrcColor1, boo::BlendFactor::InvSrcColor1,
|
||||||
false, false, false);
|
false, false, false);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
TextView::TextView(ViewSystem& system, FontTag font, size_t capacity)
|
TextView::TextView(ViewSystem& system, FontTag font, size_t capacity)
|
||||||
: View(system),
|
: View(system),
|
||||||
|
|
|
@ -42,6 +42,7 @@ void View::System::init(boo::GLDataFactory* factory)
|
||||||
false, false, false);
|
false, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
void View::System::init(boo::ID3DDataFactory* factory)
|
void View::System::init(boo::ID3DDataFactory* factory)
|
||||||
{
|
{
|
||||||
static const char* VS =
|
static const char* VS =
|
||||||
|
@ -89,6 +90,7 @@ void View::System::init(boo::ID3DDataFactory* factory)
|
||||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||||
false, false, false);
|
false, false, false);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
View::View(ViewSystem& system)
|
View::View(ViewSystem& system)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue