2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-04 13:35:37 +00:00

Minor HLSL build optimization

This commit is contained in:
Jack Andersen 2015-11-27 12:55:21 -10:00
parent a800ff73ee
commit aeb69955ae

View File

@ -171,11 +171,10 @@ void TextView::System::init(boo::ID3DDataFactory* factory, FontCache* fcache)
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
false, false, false);
blobVert.Reset();
blobFrag.Reset();
blobPipe.Reset();
m_subpixel =
factory->newShaderPipeline(VS, FSSubpixel, blobVert, blobFrag, blobPipe, m_vtxFmt,
factory->newShaderPipeline(nullptr, FSSubpixel, blobVert, blobFrag, blobPipe, m_vtxFmt,
boo::BlendFactor::SrcColor1, boo::BlendFactor::InvSrcColor1,
false, false, false);
}