Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
D3D sync
Browse files Browse the repository at this point in the history
  • Loading branch information
jackoalan committed Mar 24, 2016
1 parent cbc19b3 commit 7e69449
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/TextView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/View.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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[] =
{
Expand All @@ -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
Expand Down

0 comments on commit 7e69449

Please sign in to comment.