mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-22 01:01:45 +00:00
Fix #1190
This commit is contained in:
parent
3087107175
commit
356e455335
1 changed files with 3 additions and 3 deletions
|
@ -147,7 +147,7 @@ static void R_DrawFlippedColumnInCache(column_t *column, UINT8 *cache, texpatch_
|
||||||
|
|
||||||
if (count > 0)
|
if (count > 0)
|
||||||
{
|
{
|
||||||
for (; dest < cache + position + count; --source)
|
for (; dest < cache + position + count; --source, is_opaque++)
|
||||||
{
|
{
|
||||||
*dest++ = *source;
|
*dest++ = *source;
|
||||||
*is_opaque = true;
|
*is_opaque = true;
|
||||||
|
@ -191,7 +191,7 @@ static void R_DrawBlendColumnInCache(column_t *column, UINT8 *cache, texpatch_t
|
||||||
|
|
||||||
if (count > 0)
|
if (count > 0)
|
||||||
{
|
{
|
||||||
for (; dest < cache + position + count; source++, dest++)
|
for (; dest < cache + position + count; source++, dest++, is_opaque++)
|
||||||
{
|
{
|
||||||
*dest = ASTBlendPaletteIndexes(*dest, *source, originPatch->style, originPatch->alpha);
|
*dest = ASTBlendPaletteIndexes(*dest, *source, originPatch->style, originPatch->alpha);
|
||||||
*is_opaque = true;
|
*is_opaque = true;
|
||||||
|
@ -235,7 +235,7 @@ static void R_DrawBlendFlippedColumnInCache(column_t *column, UINT8 *cache, texp
|
||||||
|
|
||||||
if (count > 0)
|
if (count > 0)
|
||||||
{
|
{
|
||||||
for (; dest < cache + position + count; --source, dest++)
|
for (; dest < cache + position + count; --source, dest++, is_opaque++)
|
||||||
{
|
{
|
||||||
*dest = ASTBlendPaletteIndexes(*dest, *source, originPatch->style, originPatch->alpha);
|
*dest = ASTBlendPaletteIndexes(*dest, *source, originPatch->style, originPatch->alpha);
|
||||||
*is_opaque = true;
|
*is_opaque = true;
|
||||||
|
|
Loading…
Reference in a new issue