From 737b688295c7ebb1fe89a57293fcbbc8d924712e Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Wed, 23 Mar 2016 22:16:30 -1000 Subject: [PATCH] Vulkan sync --- specter/lib/TextView.cpp | 2 +- specter/lib/View.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specter/lib/TextView.cpp b/specter/lib/TextView.cpp index 567578012..a1252c0f4 100644 --- a/specter/lib/TextView.cpp +++ b/specter/lib/TextView.cpp @@ -289,7 +289,7 @@ void TextView::Resources::init(boo::VulkanDataFactory* factory, FontCache* fcach m_regular = factory->newShaderPipeline(GLSLVS, GLSLFSReg, m_vtxFmt, boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha, - false, false, false); + boo::Primitive::TriStrips, false, false, false); } #endif diff --git a/specter/lib/View.cpp b/specter/lib/View.cpp index db2a14968..650744d18 100644 --- a/specter/lib/View.cpp +++ b/specter/lib/View.cpp @@ -300,7 +300,7 @@ void View::Resources::init(boo::VulkanDataFactory* factory, const IThemeData& th m_solidShader = factory->newShaderPipeline(GLSLSolidVS, GLSLSolidFS, m_solidVtxFmt, boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha, - false, false, false); + boo::Primitive::TriStrips, false, false, false); boo::VertexElementDescriptor texvdescs[] = { @@ -311,7 +311,7 @@ void View::Resources::init(boo::VulkanDataFactory* factory, const IThemeData& th m_texShader = factory->newShaderPipeline(GLSLTexVS, GLSLTexFS, m_texVtxFmt, boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha, - false, false, false); + boo::Primitive::TriStrips, false, false, false); } #endif