summaryrefslogtreecommitdiffhomepage
path: root/shaders
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-11 04:07:58 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-11 04:07:58 +0100
commitbe5ca3208891a8d45cbb7f9c25905f46332572a0 (patch)
tree04d89404a2aecb26f0dc2299bffdfba4f5eb8df3 /shaders
parenteaa6c76bd92e292ac59dcfa0a7aa70cd1e2f50fb (diff)
w
Diffstat (limited to 'shaders')
-rw-r--r--shaders/lightmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/lightmap.cpp b/shaders/lightmap.cpp
index d0e32453..fcb32619 100644
--- a/shaders/lightmap.cpp
+++ b/shaders/lightmap.cpp
@@ -367,7 +367,7 @@ void lightmap_shader::add_geometry(Vector2 neighbor_offset, chunk& c)
{
auto t = c[i];
if (auto atlas = t.ground_atlas())
- if (atlas->pass_mode(pass_mode::pass) == pass_mode::blocked)
+ if (atlas->pass_mode() == pass_mode::blocked)
{
auto [min, max] = whole_tile(i);
constexpr auto fuzz = Vector2(fuzz_pixels, fuzz_pixels), fuzz2 = fuzz*2;