Skip to content

Commit

Permalink
πŸ› Fix: generate transparent image when there are no nodes at all
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Nov 11, 2024
1 parent 56cc2da commit 9ac3b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Module_Default/Module_Default.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void Module_Default::render(DataToPassToShader const& data)
{
render_target().set_size(data.system_values.render_target_size);
render_target().render([&]() {
glClearColor(0.f, 0.f, 0.f, 1.f);
glClearColor(0.f, 0.f, 0.f, 0.f);
glClear(GL_COLOR_BUFFER_BIT);
});
}
Expand Down

0 comments on commit 9ac3b79

Please sign in to comment.