Update boo; fix viewport/scissor in main loop

This commit is contained in:
Luke Street 2021-05-25 19:14:58 -04:00
parent f8fa3d1f20
commit bae1d7d59f
2 changed files with 3 additions and 2 deletions

View File

@ -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]);

2
extern/boo vendored

@ -1 +1 @@
Subproject commit 78028c62376d2399050f0b12c43d98e266b30b53 Subproject commit d302532fe12e447cc5af3ac975e12e89c982dfae