mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- fixed bad alpha setting for rotatesprite calls.
This commit is contained in:
parent
73950458d4
commit
9de5814063
1 changed files with 1 additions and 0 deletions
|
@ -659,6 +659,7 @@ void F2DDrawer::rotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16
|
|||
auto ptr = &mVertices[dg.mVertIndex];
|
||||
float drawpoly_alpha = daalpha * (1.0f / 255.0f);
|
||||
float alpha = float_trans(method, dablend) * (1.f - drawpoly_alpha); // Hmmm...
|
||||
p.a = (uint8_t)(alpha * 255);
|
||||
|
||||
vec2_16_t const siz = tilesiz[picnum];
|
||||
vec2_16_t ofs = { 0, 0 };
|
||||
|
|
Loading…
Reference in a new issue