mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-28 15:11:55 +00:00
Fix R_DrawFlippedColumnInCache and R_DrawBlendColumnInCache
This commit is contained in:
parent
e30523264c
commit
28e6b97299
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ static inline void R_DrawFlippedColumnInCache(column_t *column, UINT8 *cache, te
|
|||
{
|
||||
post_t *post = &column->posts[i];
|
||||
topdelta = patchheight - post->length - post->topdelta;
|
||||
source = column->pixels + post->data_offset + post->length;
|
||||
source = column->pixels + post->data_offset + (post->length - 1);
|
||||
count = post->length;
|
||||
position = originy + topdelta;
|
||||
|
||||
|
@ -201,7 +201,7 @@ static inline void R_DrawBlendFlippedColumnInCache(column_t *column, UINT8 *cach
|
|||
{
|
||||
post_t *post = &column->posts[i];
|
||||
topdelta = patchheight - post->length - post->topdelta;
|
||||
source = column->pixels + post->data_offset + post->length;
|
||||
source = column->pixels + post->data_offset + (post->length - 1);
|
||||
count = post->length;
|
||||
position = originy + topdelta;
|
||||
|
||||
|
|
Loading…
Reference in a new issue