From aeb69955ae33a9810e117201f3e83084e6727ed3 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Fri, 27 Nov 2015 12:55:21 -1000 Subject: [PATCH] Minor HLSL build optimization --- specter/lib/TextView.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specter/lib/TextView.cpp b/specter/lib/TextView.cpp index f204ddf72..bd4f33c4f 100644 --- a/specter/lib/TextView.cpp +++ b/specter/lib/TextView.cpp @@ -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); }