- moved all methods that would involve command buffer manipulation in Vulkan to FRenderState, because that's the object that would serve as command buffer builder.
This commit is contained in:
parent
2ee2766812
commit
9f9d747a6b
21 changed files with 314 additions and 311 deletions
|
|
@ -440,7 +440,7 @@ void FGLRenderer::Draw2D(F2DDrawer *drawer)
|
|||
FDrawInfo di; // For access to the virtual interface. This should be placed elsewhere...
|
||||
const auto &mScreenViewport = screen->mScreenViewport;
|
||||
glViewport(mScreenViewport.left, mScreenViewport.top, mScreenViewport.width, mScreenViewport.height);
|
||||
screen->mViewpoints->Set2D(&di, screen->GetWidth(), screen->GetHeight());
|
||||
screen->mViewpoints->Set2D(gl_RenderState, screen->GetWidth(), screen->GetHeight());
|
||||
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue