2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 18:27:42 +00:00

D3D11/12 support

This commit is contained in:
Jack Andersen
2015-11-27 12:20:22 -10:00
parent ecbed6e82c
commit a800ff73ee
6 changed files with 181 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ void RootView::resized(const boo::SWindowRect& rect)
resized(rect, rect);
}
void RootView::resized(const boo::SWindowRect& root, const boo::SWindowRect& sub)
void RootView::resized(const boo::SWindowRect& root, const boo::SWindowRect&)
{
m_rootRect = root;
m_rootRect.location[0] = 0;
@@ -114,6 +114,7 @@ void RootView::draw(boo::IGraphicsCommandQueue* gfxQ)
}
gfxQ->setRenderTarget(m_renderTex);
gfxQ->setViewport(m_rootRect);
gfxQ->setScissor(m_rootRect);
View::draw(gfxQ);
m_textView.draw(gfxQ);
gfxQ->resolveDisplay(m_renderTex);