mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 23:07:43 +00:00
Update shader pipeline calls
This commit is contained in:
@@ -74,12 +74,12 @@ void TextView::Resources::init(boo::GLDataFactory* factory, FontCache* fcache)
|
||||
m_regular =
|
||||
factory->newShaderPipeline(GLSLVS, GLSLFSReg, 1, "fontTex", 1, BlockNames,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
|
||||
m_subpixel =
|
||||
factory->newShaderPipeline(GLSLVS, GLSLFSSubpixel, 1, "fontTex", 1, BlockNames,
|
||||
boo::BlendFactor::SrcColor1, boo::BlendFactor::InvSrcColor1,
|
||||
false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
}
|
||||
|
||||
#if _WIN32
|
||||
@@ -258,7 +258,7 @@ void TextView::Resources::init(boo::MetalDataFactory* factory, FontCache* fcache
|
||||
m_regular =
|
||||
factory->newShaderPipeline(VS, FSReg, m_vtxFmt, 1,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user