mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-19 08:01:50 +00:00
- draw empty portals in black, not the last set color.
This commit is contained in:
parent
0f80b7dcb6
commit
ef7e4fe678
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ void GLPortal::ClearScreen()
|
|||
gl_RenderState.mViewMatrix.loadIdentity();
|
||||
gl_RenderState.mProjectionMatrix.ortho(0, SCREENWIDTH, SCREENHEIGHT, 0, -1.0f, 1.0f);
|
||||
gl_RenderState.ApplyMatrices();
|
||||
glVertexAttrib4f(VATTR_COLOR, 0, 0, 0, 1); // color should be black.
|
||||
|
||||
glDisable(GL_MULTISAMPLE);
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
|
|
Loading…
Reference in a new issue