mirror of https://github.com/AxioDL/amuse.git
Fix compiling of amuserender/play
This commit is contained in:
parent
1fefba66e7
commit
e3c936648b
|
@ -630,7 +630,7 @@ struct AppCallback : boo::IApplicationCallback
|
||||||
m_win->setStyle(~boo::EWindowStyle::Resize);
|
m_win->setStyle(~boo::EWindowStyle::Resize);
|
||||||
m_win->showWindow();
|
m_win->showWindow();
|
||||||
boo::ObjToken<boo::ITextureR> tex;
|
boo::ObjToken<boo::ITextureR> tex;
|
||||||
m_win->getMainContextDataFactory()->commitTransaction([&](boo::IGraphicsDataFactory::Context& ctx) -> bool {
|
m_win->getMainContextDataFactory()->BooCommitTransaction([&](boo::IGraphicsDataFactory::Context& ctx) {
|
||||||
tex = ctx.newRenderTexture(100, 100, boo::TextureClampMode::Repeat, 1, 0);
|
tex = ctx.newRenderTexture(100, 100, boo::TextureClampMode::Repeat, 1, 0);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue