mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- Fixed: D3DFB::DrawTextureV() did not properly adjust the texture coordinate
for lclip and rclip. SVN r1384 (trunk)
This commit is contained in:
parent
a21a928011
commit
c09d9f0e20
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
January 30, 2009
|
||||
- Fixed: D3DFB::DrawTextureV() did not properly adjust the texture coordinate
|
||||
for lclip and rclip.
|
||||
- Added weapdrop ccmd.
|
||||
- Centered the compatibility mode option in the comptibility options menu.
|
||||
- Added button mappings for 8 mouse buttons on SDL. It works with my system,
|
||||
|
|
|
@ -2431,12 +2431,12 @@ void STACK_ARGS D3DFB::DrawTextureV (FTexture *img, int x, int y, uint32 tags_fi
|
|||
}
|
||||
if (x0 < parms.lclip)
|
||||
{
|
||||
u0 += float(parms.lclip - x0) * uscale / xscale;
|
||||
u0 += float(parms.lclip - x0) * uscale;
|
||||
x0 = float(parms.lclip);
|
||||
}
|
||||
if (x1 > parms.rclip)
|
||||
{
|
||||
u1 -= float(x1 - parms.rclip) * uscale / xscale;
|
||||
u1 -= float(x1 - parms.rclip) * uscale;
|
||||
x1 = float(parms.rclip);
|
||||
}
|
||||
parms.bilinear = false;
|
||||
|
|
Loading…
Reference in a new issue