From bae1d7d59f66bb5488659e8e5fc852f13ae6b400 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Tue, 25 May 2021 19:14:58 -0400 Subject: [PATCH] Update boo; fix viewport/scissor in main loop --- Runtime/CMain.cpp | 3 ++- extern/boo | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Runtime/CMain.cpp b/Runtime/CMain.cpp index 58c79c882..c18b07b9f 100644 --- a/Runtime/CMain.cpp +++ b/Runtime/CMain.cpp @@ -351,7 +351,8 @@ public: 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(); if (m_windowCallback.m_rectDirty) { gfxQ->resizeRenderTexture(m_renderTex, rect.size[0], rect.size[1]); diff --git a/extern/boo b/extern/boo index 78028c623..d302532fe 160000 --- a/extern/boo +++ b/extern/boo @@ -1 +1 @@ -Subproject commit 78028c62376d2399050f0b12c43d98e266b30b53 +Subproject commit d302532fe12e447cc5af3ac975e12e89c982dfae