Update amuseplay for boo changes

This commit is contained in:
Jack Andersen 2017-11-04 20:16:06 -10:00
parent 047a91452e
commit e18c0a62de
1 changed files with 5 additions and 6 deletions

View File

@ -629,8 +629,7 @@ struct AppCallback : boo::IApplicationCallback
m_win->setWindowFrame(100, 100, 100, 100); m_win->setWindowFrame(100, 100, 100, 100);
m_win->setStyle(~boo::EWindowStyle::Resize); m_win->setStyle(~boo::EWindowStyle::Resize);
m_win->showWindow(); m_win->showWindow();
boo::ITextureR* tex = nullptr; boo::ObjToken<boo::ITextureR> tex;
boo::GraphicsDataToken gfxToken =
m_win->getMainContextDataFactory()->commitTransaction([&](boo::IGraphicsDataFactory::Context& ctx) -> bool { m_win->getMainContextDataFactory()->commitTransaction([&](boo::IGraphicsDataFactory::Context& ctx) -> bool {
tex = ctx.newRenderTexture(100, 100, boo::TextureClampMode::Repeat, 0, 0); tex = ctx.newRenderTexture(100, 100, boo::TextureClampMode::Repeat, 0, 0);
return true; return true;