mirror of https://github.com/AxioDL/amuse.git
Update amuseplay for new texture API
This commit is contained in:
parent
4b2b86f420
commit
fdf07d6c33
|
@ -632,7 +632,7 @@ struct AppCallback : boo::IApplicationCallback
|
||||||
boo::ITextureR* tex = nullptr;
|
boo::ITextureR* tex = nullptr;
|
||||||
boo::GraphicsDataToken gfxToken =
|
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, false, false);
|
tex = ctx.newRenderTexture(100, 100, boo::TextureClampMode::Repeat, 0, 0);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
boo::IGraphicsCommandQueue* q = m_win->getCommandQueue();
|
boo::IGraphicsCommandQueue* q = m_win->getCommandQueue();
|
||||||
|
|
Loading…
Reference in New Issue