mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- fixed scissoring with out of range coordinates.
Blood's status bar sets such a bogus clipping rectangle.
This commit is contained in:
parent
e84acb7e2f
commit
6c6874cb0e
4 changed files with 7 additions and 9 deletions
|
@ -444,7 +444,7 @@ void PolymostRenderState::Apply(PolymostShader* shader, GLState &oldState)
|
|||
}
|
||||
if (StateFlags & STF_SCISSORSET)
|
||||
{
|
||||
if (sc_x >= 0)
|
||||
if (sc_x > SHRT_MIN)
|
||||
{
|
||||
glScissor(sc_x, sc_y, sc_w, sc_h);
|
||||
glEnable(GL_SCISSOR_TEST);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue