diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 8b26fa2e67..42a25f9276 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -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. diff --git a/src/win32/fb_d3d9.cpp b/src/win32/fb_d3d9.cpp index 519d690101..08e97a3bb4 100644 --- a/src/win32/fb_d3d9.cpp +++ b/src/win32/fb_d3d9.cpp @@ -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); }