Skip to content
Snippets Groups Projects
Commit 28e6b972 authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

Fix R_DrawFlippedColumnInCache and R_DrawBlendColumnInCache

parent e3052326
No related branches found
No related tags found
2 merge requests!2355fix newer versions of mixerx,!2104Patch and texture refactor
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment