Fix compiling of heclTest

This commit is contained in:
Phillip Stephens 2018-05-20 08:31:59 -07:00
parent d0d330062f
commit c5bcd88851
2 changed files with 2 additions and 2 deletions

2
hecl/extern/boo vendored

@ -1 +1 @@
Subproject commit 578432eb2f61c176ab41c2a3b758816034d07892 Subproject commit c7d878a7557dce0918c284fcb45e22c0398f52cc

View File

@ -135,7 +135,7 @@ struct HECLApplicationCallback : boo::IApplicationCallback
std::shared_ptr<hecl::Runtime::ShaderPipelines> testShaderObj = std::shared_ptr<hecl::Runtime::ShaderPipelines> testShaderObj =
shaderMgr.buildShader(testShaderTag, testShader, "testShader", *gfxF); shaderMgr.buildShader(testShaderTag, testShader, "testShader", *gfxF);
gfxF->commitTransaction([&](boo::IGraphicsDataFactory::Context& ctx) -> bool gfxF->BooCommitTransaction([&](boo::IGraphicsDataFactory::Context& ctx)
{ {
boo::SWindowRect mainWindowRect = m_mainWindow->getWindowFrame(); boo::SWindowRect mainWindowRect = m_mainWindow->getWindowFrame();
renderTex = ctx.newRenderTexture(size_t(mainWindowRect.size[0]), size_t(mainWindowRect.size[1]), renderTex = ctx.newRenderTexture(size_t(mainWindowRect.size[0]), size_t(mainWindowRect.size[1]),