mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- Fix linear filtering bug for sprites
This commit is contained in:
parent
b1057cee36
commit
d407aa3157
2 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ namespace swrenderer
|
|||
}
|
||||
|
||||
int textureheight = args.TextureHeight();
|
||||
uint32_t one = ((0x80000000 + textureheight - 1) / textureheight) * 2 + 1;
|
||||
uint32_t one = ((0x20000000 + textureheight - 1) / textureheight) * 2 + 1;
|
||||
|
||||
// Shade constants
|
||||
BgraColor dynlight = args.DynamicLight();
|
||||
|
|
|
@ -126,7 +126,7 @@ namespace swrenderer
|
|||
}
|
||||
|
||||
int textureheight = args.TextureHeight();
|
||||
uint32_t one = ((0x80000000 + textureheight - 1) / textureheight) * 2 + 1;
|
||||
uint32_t one = ((0x20000000 + textureheight - 1) / textureheight) * 2 + 1;
|
||||
|
||||
// Shade constants
|
||||
__m128i dynlight = _mm_cvtsi32_si128(args.DynamicLight());
|
||||
|
|
Loading…
Reference in a new issue