mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref_soft: fix pointer-to-int casts
This commit is contained in:
@@ -1250,7 +1250,7 @@ void D_DrawflatSurfaces (void)
|
||||
|
||||
// make a stable color for each surface by taking the low
|
||||
// bits of the msurface pointer
|
||||
D_FlatFillSurface (s, (int)s->msurf & 0xFFFF);
|
||||
D_FlatFillSurface (s, (uintptr_t)s->msurf & 0xFFFF);
|
||||
D_DrawZSpans (s->spans);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user