2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

Integration of render target binding

This commit is contained in:
Jack Andersen
2016-02-24 16:55:05 -10:00
parent c9631253a2
commit 9048ba9aa6
2 changed files with 2 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ RootView::RootView(IViewManager& viewMan, ViewResources& res, boo::IWindow* wind
{
window->setCallback(&m_events);
boo::SWindowRect rect = window->getWindowFrame();
m_renderTex = res.m_factory->newRenderTexture(rect.size[0], rect.size[1]);
m_renderTex = res.m_factory->newRenderTexture(rect.size[0], rect.size[1], true, true);
commitResources(res);
resized(rect, rect);
}