aboutsummaryrefslogtreecommitdiff
path: root/source/tile.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/tile.h')
-rw-r--r--source/tile.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/tile.h b/source/tile.h
index 427c975..6bc4e23 100644
--- a/source/tile.h
+++ b/source/tile.h
@@ -172,7 +172,7 @@
pixel = PIXEL; \
for (l = LineCount; l != 0; l--, sp += GFX.PPL, Depth += GFX.PPL) \
{ \
- int z; \
+ int32_t z; \
for (z = Pixels - 1; z >= 0; z--) \
if (GFX.Z1 > Depth [z]) \
{ \
@@ -191,7 +191,7 @@
pixel = PIXEL; \
for (l = LineCount; l != 0; l--, sp += GFX.PPL, Depth += GFX.PPL) \
{ \
- int z; \
+ int32_t z; \
for (z = Pixels - 1; z >= 0; z--) \
if (GFX.Z1 > Depth [z]) \
{ \
@@ -217,7 +217,7 @@
pixel = PIXEL; \
for (l = LineCount; l != 0; l--, sp += GFX.PPL, Depth += GFX.PPL) \
{ \
- int z; \
+ int32_t z; \
for (z = Pixels - 2; z >= 0; z -= 2) \
if (GFX.Z1 > Depth [z]) \
{ \
@@ -236,7 +236,7 @@
pixel = PIXEL; \
for (l = LineCount; l != 0; l--, sp += GFX.PPL, Depth += GFX.PPL) \
{ \
- int z; \
+ int32_t z; \
for (z = Pixels - 2; z >= 0; z -= 2) \
if (GFX.Z1 > Depth [z]) \
{ \