mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 00:21:35 +00:00
- 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
|
@ -1,3 +1,6 @@
|
|||
September 21, 2009
|
||||
- Fixed: In letterbox modes, the clipping window needs to be adjusted down.
|
||||
|
||||
September 21, 2009 (Changes by Graf Zahl)
|
||||
- Fixed: When drawing with a special colormap the quad's flags weren't cleared
|
||||
which could cause crashes.
|
||||
|
|
|
@ -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…
Reference in a new issue