mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-21 16:38:43 +00:00
Fixed: Bad check for scissor
This commit is contained in:
parent
280df412a6
commit
aa8b8851f0
1 changed files with 1 additions and 1 deletions
|
@ -1097,7 +1097,7 @@ void CDriverGL::setupScissor (const class CScissor& scissor)
|
||||||
}
|
}
|
||||||
|
|
||||||
// enable or disable Scissor, but AFTER textureTarget adjust
|
// enable or disable Scissor, but AFTER textureTarget adjust
|
||||||
if(x==0 && x==0 && width>=1 && height>=1)
|
if(x==0.f && y==0.f && width>=1.f && height>=1.f)
|
||||||
{
|
{
|
||||||
glDisable(GL_SCISSOR_TEST);
|
glDisable(GL_SCISSOR_TEST);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue