diff --git a/specter/lib/TextView.cpp b/specter/lib/TextView.cpp index a1252c0f4..07867722c 100644 --- a/specter/lib/TextView.cpp +++ b/specter/lib/TextView.cpp @@ -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 diff --git a/specter/lib/View.cpp b/specter/lib/View.cpp index 650744d18..2a26d9c3d 100644 --- a/specter/lib/View.cpp +++ b/specter/lib/View.cpp @@ -167,7 +167,7 @@ void View::Resources::init(boo::ID3DDataFactory* factory, const IThemeData& them ComPtr 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