mirror of https://github.com/AxioDL/metaforce.git
Frontface culling support for Metal
This commit is contained in:
parent
b80cb1ed29
commit
14bcbba1de
|
@ -256,7 +256,7 @@ void TextView::Resources::init(boo::MetalDataFactory::Context& ctx, FontCache* f
|
|||
m_regular =
|
||||
ctx.newShaderPipeline(VS, FSReg, m_vtxFmt, 1,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -270,7 +270,7 @@ void View::Resources::init(boo::MetalDataFactory::Context& ctx, const IThemeData
|
|||
|
||||
m_solidShader = ctx.newShaderPipeline(SolidVS, SolidFS, m_solidVtxFmt, 1,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
|
||||
boo::VertexElementDescriptor texvdescs[] =
|
||||
{
|
||||
|
@ -281,7 +281,7 @@ void View::Resources::init(boo::MetalDataFactory::Context& ctx, const IThemeData
|
|||
|
||||
m_texShader = ctx.newShaderPipeline(TexVS, TexFS, m_texVtxFmt, 1,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue