HWR_DrawPatchInCache(): remove cast and pointer for block

This commit is contained in:
Logan Aerl Arias 2024-04-06 15:21:25 -04:00
parent 39592d8bbb
commit a1a0f4c21b

View file

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