diff --git a/src/hardware/hw_cache.c b/src/hardware/hw_cache.c index 85a7fb4bb..2802ef205 100644 --- a/src/hardware/hw_cache.c +++ b/src/hardware/hw_cache.c @@ -302,7 +302,7 @@ static void HWR_DrawPatchInCache(GLMipmap_t *mipmap, blockmodulo = pblockwidth*bpp; // 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) {