2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

frontface culling boo sync

This commit is contained in:
Jack Andersen
2017-03-10 10:52:23 -10:00
parent fcb53addd1
commit b80cb1ed29
2 changed files with 11 additions and 11 deletions

View File

@@ -81,11 +81,11 @@ void View::Resources::init(boo::GLDataFactory::Context& ctx, const IThemeData& t
{
m_solidShader = ctx.newShaderPipeline(GLSLSolidVS, GLSLSolidFS, 0, nullptr, 1, BlockNames,
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
boo::Primitive::TriStrips, false, false, false);
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
m_texShader = ctx.newShaderPipeline(GLSLTexVS, GLSLTexFS, 1, TexNames, 1, BlockNames,
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
boo::Primitive::TriStrips, false, false, false);
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
}
#if _WIN32
@@ -168,7 +168,7 @@ void View::Resources::init(boo::ID3DDataFactory::Context& ctx, const IThemeData&
m_solidShader = ctx.newShaderPipeline(SolidVS, SolidFS, nullptr, nullptr, nullptr, m_solidVtxFmt,
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
boo::Primitive::TriStrips, false, false, false);
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
boo::VertexElementDescriptor texvdescs[] =
{
@@ -179,7 +179,7 @@ void View::Resources::init(boo::ID3DDataFactory::Context& ctx, const IThemeData&
m_texShader = ctx.newShaderPipeline(TexVS, TexFS, nullptr, nullptr, nullptr, m_texVtxFmt,
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
boo::Primitive::TriStrips, false, false, false);
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
}
#endif
@@ -298,7 +298,7 @@ void View::Resources::init(boo::VulkanDataFactory::Context& ctx, const IThemeDat
m_solidShader = ctx.newShaderPipeline(GLSLSolidVS, GLSLSolidFS, m_solidVtxFmt,
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
boo::Primitive::TriStrips, false, false, false);
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
boo::VertexElementDescriptor texvdescs[] =
{
@@ -309,7 +309,7 @@ void View::Resources::init(boo::VulkanDataFactory::Context& ctx, const IThemeDat
m_texShader = ctx.newShaderPipeline(GLSLTexVS, GLSLTexFS, m_texVtxFmt,
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
boo::Primitive::TriStrips, false, false, false);
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
}
#endif