summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-08-30 19:08:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-08-30 19:08:51 +0200
commitd547ab21e87c3e00921efc4fc5003ac94e6d13ce (patch)
treebbb6bf4e4f64702bed5c9bf0673ff68bf8767746
parentf528908f599a7bc551923c681c6cbd5535c5e767 (diff)
kill redundant setUniform
-rw-r--r--shaders/lightmap.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/shaders/lightmap.cpp b/shaders/lightmap.cpp
index 13047e8f..1be6080b 100644
--- a/shaders/lightmap.cpp
+++ b/shaders/lightmap.cpp
@@ -257,7 +257,6 @@ void lightmap_shader::add_light(Vector2 neighbor_offset, const light_s& light)
AbstractShaderProgram::draw(light_mesh);
setUniform(ModeUniform, DrawShadowsMode);
- setUniform(LightColorUniform, Color3{0, 0, 0});
fm_assert(occlusion_mesh.id());
auto mesh_view = GL::MeshView{occlusion_mesh};
mesh_view.setCount((int32_t)count*6);