Kneelawk / fractal-rs

Simple fractal viewer written in Rust
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Fractal views are initialized with garbage pixels #33

Open Kneelawk opened 2 years ago

Kneelawk commented 2 years ago

The Issue

Currently, no attempt is made to clear fractal view images when they're first initialized or between generation steps. This means that opening a new tab may present the user with a view filled with garbage data, usually of a fractal recycled from a previous fractal image.

Possible Fix

Fractal view images should be initialized cleared to make sure they do not contain any garbage data. There should also be an option to clear the view before every time a fractal is generated.

Kneelawk commented 2 years ago

One way to implement this is to simply have a custom render pass specifically for clearing textures before they're drawn to the UI.