Update amuseplay for new texture API

This commit is contained in:
Jack Andersen 2017-09-30 18:30:12 -10:00
parent 4b2b86f420
commit fdf07d6c33
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ struct AppCallback : boo::IApplicationCallback
boo::ITextureR* tex = nullptr;
boo::GraphicsDataToken gfxToken =
m_win->getMainContextDataFactory()->commitTransaction([&](boo::IGraphicsDataFactory::Context& ctx) -> bool {
tex = ctx.newRenderTexture(100, 100, false, false);
tex = ctx.newRenderTexture(100, 100, boo::TextureClampMode::Repeat, 0, 0);
return true;
});
boo::IGraphicsCommandQueue* q = m_win->getCommandQueue();