mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
LunaCON: fix negative alpha for 'rotatespritea'. BUILD_LUNATIC.
Conceptually, this amends r4428. git-svn-id: https://svn.eduke32.com/eduke32@5237 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
85be0bebec
commit
d27824ae3c
1 changed files with 2 additions and 0 deletions
|
@ -413,8 +413,10 @@ function _rotspr(x, y, zoom, ang, tilenum, shade, pal, orientation,
|
|||
|
||||
local blendidx = 0
|
||||
if (alpha < 0) then
|
||||
-- See NEG_ALPHA_TO_BLEND.
|
||||
blendidx = -alpha
|
||||
alpha = 0
|
||||
orientation = bor(orientation, 1) -- RS_TRANS1
|
||||
end
|
||||
|
||||
ffiC.rotatesprite_(x, y, zoom, ang, tilenum, shade, pal, bor(2,orientation),
|
||||
|
|
Loading…
Reference in a new issue