diff --git a/specter/lib/TextView.cpp b/specter/lib/TextView.cpp index fb81ab3ba..74ce1267d 100644 --- a/specter/lib/TextView.cpp +++ b/specter/lib/TextView.cpp @@ -339,7 +339,7 @@ TextView::TextView(ViewResources& res, m_shaderBinding = ctx.newShaderDataBinding(shader, m_vtxFmt, nullptr, m_glyphBuf, nullptr, 1, (boo::IGraphicsBuffer**)&m_viewVertBlockBuf, - 1, texs); + nullptr, 1, texs); } else { @@ -347,7 +347,7 @@ TextView::TextView(ViewResources& res, m_shaderBinding = ctx.newShaderDataBinding(shader, res.m_textRes.m_vtxFmt, nullptr, m_glyphBuf, nullptr, 1, (boo::IGraphicsBuffer**)&m_viewVertBlockBuf, - 1, texs); + nullptr, 1, texs); } return true; }); diff --git a/specter/lib/View.cpp b/specter/lib/View.cpp index 233666b00..440989493 100644 --- a/specter/lib/View.cpp +++ b/specter/lib/View.cpp @@ -394,7 +394,7 @@ void View::VertexBufferBinding::initSolid(boo::IGraphicsDataFactory::Context& ct boo::IGraphicsBuffer* bufs[] = {viewBlockBuf}; m_shaderBinding = ctx.newShaderDataBinding(res.m_viewRes.m_solidShader, m_vtxFmt, m_vertsBuf, nullptr, - nullptr, 1, bufs, 0, nullptr); + nullptr, 1, bufs, nullptr, 0, nullptr); } else { @@ -402,7 +402,7 @@ void View::VertexBufferBinding::initSolid(boo::IGraphicsDataFactory::Context& ct m_shaderBinding = ctx.newShaderDataBinding(res.m_viewRes.m_solidShader, res.m_viewRes.m_solidVtxFmt, m_vertsBuf, nullptr, - nullptr, 1, bufs, 0, nullptr); + nullptr, 1, bufs, nullptr, 0, nullptr); } } @@ -425,7 +425,7 @@ void View::VertexBufferBinding::initTex(boo::IGraphicsDataFactory::Context& ctx, boo::ITexture* tex[] = {texture}; m_shaderBinding = ctx.newShaderDataBinding(res.m_viewRes.m_texShader, m_vtxFmt, m_vertsBuf, nullptr, - nullptr, 1, bufs, 1, tex); + nullptr, 1, bufs, nullptr, 1, tex); } else { @@ -434,7 +434,7 @@ void View::VertexBufferBinding::initTex(boo::IGraphicsDataFactory::Context& ctx, m_shaderBinding = ctx.newShaderDataBinding(res.m_viewRes.m_texShader, res.m_viewRes.m_texVtxFmt, m_vertsBuf, nullptr, - nullptr, 1, bufs, 1, tex); + nullptr, 1, bufs, nullptr, 1, tex); } }