mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-09-11 11:43:49 +00:00
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);
|
||||
}
|
||||
|
||||
#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),
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user