- Fixed: In letterbox modes, the clipping window needs to be adjusted down.
SVN r1863 (trunk)
This commit is contained in:
parent
8377927412
commit
e9d61a3f46
2 changed files with 7 additions and 1 deletions
|
|
@ -2569,7 +2569,10 @@ void STACK_ARGS D3DFB::DrawTextureV (FTexture *img, int x, int y, uint32 tags_fi
|
|||
EndQuadBatch();
|
||||
BeginQuadBatch();
|
||||
}
|
||||
RECT scissor = { parms.lclip, parms.uclip, parms.rclip, parms.dclip };
|
||||
RECT scissor = {
|
||||
parms.lclip, parms.uclip + LBOffsetI,
|
||||
parms.rclip, parms.dclip + LBOffsetI
|
||||
};
|
||||
D3DDevice->SetScissorRect(&scissor);
|
||||
D3DDevice->SetRenderState(D3DRS_SCISSORTESTENABLE, TRUE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue