2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 12:27:43 +00:00

Shader data binding API update

This commit is contained in:
Jack Andersen
2016-04-03 20:15:46 -10:00
parent 223b5c12c4
commit fa32f002b7
2 changed files with 6 additions and 6 deletions

View File

@@ -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;
});