mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:04:55 +00:00
Update boo; fix viewport/scissor in main loop
This commit is contained in:
@@ -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
2
extern/boo
vendored
Submodule extern/boo updated: 78028c6237...d302532fe1
Reference in New Issue
Block a user