mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- fix clipping issue on singleplayer
This commit is contained in:
parent
6841a82b52
commit
feaa5b7770
@ -802,11 +802,14 @@ void InitaliseDrawEnv(DB* pBuff, int x, int y, int w, int h)
|
||||
pBuff[1].draw.dfe = 1;
|
||||
|
||||
#ifdef USE_PGXP
|
||||
pBuff[0].draw.clip.x -= 256;
|
||||
pBuff[0].draw.clip.w += 512;
|
||||
if(NumPlayers == 2)
|
||||
{
|
||||
pBuff[0].draw.clip.x -= 256;
|
||||
pBuff[0].draw.clip.w += 512;
|
||||
|
||||
pBuff[1].draw.clip.x -= 256;
|
||||
pBuff[1].draw.clip.w += 512;
|
||||
pBuff[1].draw.clip.x -= 256;
|
||||
pBuff[1].draw.clip.w += 512;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user