HWR_DrawPatchInCache(): add cast for block

This commit is contained in:
Logan Aerl Arias 2024-04-06 15:14:32 -04:00
parent 4c71e5f80a
commit 39592d8bbb

View file

@ -302,7 +302,7 @@ static void HWR_DrawPatchInCache(GLMipmap_t *mipmap,
blockmodulo = pblockwidth*bpp;
// Draw each column to the block cache
*block = mipmap->data;
*block = (UINT8)mipmap->data;
for (int x = 0; x < pwidth; x++, block += bpp, xfrac += xfracstep)
{