mirror of https://github.com/AxioDL/amuse.git
Linux amuseplay crash fixes
This commit is contained in:
parent
912eb7950c
commit
3833c137f6
|
@ -631,7 +631,7 @@ struct AppCallback : boo::IApplicationCallback
|
||||||
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()->commitTransaction([&](boo::IGraphicsDataFactory::Context& ctx) -> bool {
|
||||||
tex = ctx.newRenderTexture(100, 100, boo::TextureClampMode::Repeat, 0, 0);
|
tex = ctx.newRenderTexture(100, 100, boo::TextureClampMode::Repeat, 1, 0);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
boo::IGraphicsCommandQueue* q = m_win->getCommandQueue();
|
boo::IGraphicsCommandQueue* q = m_win->getCommandQueue();
|
||||||
|
@ -927,6 +927,8 @@ struct AppCallback : boo::IApplicationCallback
|
||||||
else
|
else
|
||||||
SongLoop(*songIndex, *voxEngine);
|
SongLoop(*songIndex, *voxEngine);
|
||||||
|
|
||||||
|
m_vox.reset();
|
||||||
|
m_seq.reset();
|
||||||
m_engine.reset();
|
m_engine.reset();
|
||||||
m_booBackend.reset();
|
m_booBackend.reset();
|
||||||
printf("\n\n");
|
printf("\n\n");
|
||||||
|
|
Loading…
Reference in New Issue