mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
HWR_DrawPatchInCache(): add cast for block
This commit is contained in:
parent
4c71e5f80a
commit
39592d8bbb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue