mirror of https://github.com/AxioDL/metaforce.git
D3D sync
This commit is contained in:
parent
737b688295
commit
83b89ceee6
|
@ -174,14 +174,14 @@ void TextView::Resources::init(boo::ID3DDataFactory* factory, FontCache* fcache)
|
|||
m_regular =
|
||||
factory->newShaderPipeline(VS, FSReg, blobVert, blobFrag, blobPipe, m_vtxFmt,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
|
||||
blobFrag.Reset();
|
||||
blobPipe.Reset();
|
||||
m_subpixel =
|
||||
factory->newShaderPipeline(nullptr, FSSubpixel, blobVert, blobFrag, blobPipe, m_vtxFmt,
|
||||
boo::BlendFactor::SrcColor1, boo::BlendFactor::InvSrcColor1,
|
||||
false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -167,7 +167,7 @@ void View::Resources::init(boo::ID3DDataFactory* factory, const IThemeData& them
|
|||
ComPtr<ID3DBlob> pipeBlob;
|
||||
m_solidShader = factory->newShaderPipeline(SolidVS, SolidFS, vertBlob, fragBlob, pipeBlob, m_solidVtxFmt,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
|
||||
boo::VertexElementDescriptor texvdescs[] =
|
||||
{
|
||||
|
@ -181,7 +181,7 @@ void View::Resources::init(boo::ID3DDataFactory* factory, const IThemeData& them
|
|||
pipeBlob.Reset();
|
||||
m_texShader = factory->newShaderPipeline(TexVS, TexFS, vertBlob, fragBlob, pipeBlob, m_texVtxFmt,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue