diff options
Diffstat (limited to 'src/raycast.zig')
| -rw-r--r-- | src/raycast.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raycast.zig b/src/raycast.zig index 2b377de..6711cb2 100644 --- a/src/raycast.zig +++ b/src/raycast.zig @@ -322,7 +322,7 @@ pub fn Player(PlaneWidth: f32, PlaneHeight: f32) type { rendered_floors_texture: Texture, map: level.Map, ) !void { - var pixels = [_]Colour{Colour.Black} ** (PlaneWidth * PlaneHeight); + var pixels = [_]Colour{Colour.fromRGBA(0, 0, 0, 0)} ** (PlaneWidth * PlaneHeight); // Again, another TERRIBLE hack: we do the same nasty linear // interpolation trick and for whatever reason the floors look fine. |
