From 8f2772697e8c77b431e22dd210457b002d72fceb Mon Sep 17 00:00:00 2001 From: XProger Date: Sat, 30 Apr 2022 04:10:21 +0300 Subject: [PATCH] fixed #416 --- src/platform/32x/rasterizer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/32x/rasterizer.h b/src/platform/32x/rasterizer.h index 2d41de0..9a5061a 100644 --- a/src/platform/32x/rasterizer.h +++ b/src/platform/32x/rasterizer.h @@ -107,7 +107,7 @@ extern "C" void rasterizeS_c(uint16* pixel, const VertexLink* L, const VertexLin if (width > 0) { - volatile ColorIndex* ptr = (uint8*)pixel + x1; + volatile ColorIndex* ptr = (ColorIndex*)pixel + x1; if (x1 & 1) {