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