mirror of https://github.com/PCSX2/pcsx2.git
GSDeviceOGL: Don't set scissor unconditionally
This commit is contained in:
parent
e006442e4f
commit
7d39d02e98
|
@ -2005,8 +2005,11 @@ static GSDeviceOGL::VSSelector convertSel(const GSHWDrawConfig::VSSelector sel)
|
|||
|
||||
void GSDeviceOGL::RenderHW(GSHWDrawConfig& config)
|
||||
{
|
||||
glScissor(config.scissor.x, config.scissor.y, config.scissor.width(), config.scissor.height());
|
||||
GLState::scissor = config.scissor;
|
||||
if (!GLState::scissor.eq(config.scissor))
|
||||
{
|
||||
glScissor(config.scissor.x, config.scissor.y, config.scissor.width(), config.scissor.height());
|
||||
GLState::scissor = config.scissor;
|
||||
}
|
||||
|
||||
// Destination Alpha Setup
|
||||
switch (config.destination_alpha)
|
||||
|
|
Loading…
Reference in New Issue