mirror of https://github.com/AxioDL/metaforce.git
Update boo; fix viewport/scissor in main loop
This commit is contained in:
parent
f8fa3d1f20
commit
bae1d7d59f
|
@ -351,7 +351,8 @@ public:
|
||||||
|
|
||||||
m_window->waitForRetrace();
|
m_window->waitForRetrace();
|
||||||
|
|
||||||
boo::SWindowRect& rect = m_windowCallback.m_lastRect;
|
boo::SWindowRect rect = m_windowCallback.m_lastRect;
|
||||||
|
rect.location = {0, 0};
|
||||||
boo::IGraphicsCommandQueue* gfxQ = m_window->getCommandQueue();
|
boo::IGraphicsCommandQueue* gfxQ = m_window->getCommandQueue();
|
||||||
if (m_windowCallback.m_rectDirty) {
|
if (m_windowCallback.m_rectDirty) {
|
||||||
gfxQ->resizeRenderTexture(m_renderTex, rect.size[0], rect.size[1]);
|
gfxQ->resizeRenderTexture(m_renderTex, rect.size[0], rect.size[1]);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 78028c62376d2399050f0b12c43d98e266b30b53
|
Subproject commit d302532fe12e447cc5af3ac975e12e89c982dfae
|
Loading…
Reference in New Issue