Fix white noise

This commit is contained in:
Nikita Lisitsa 2020-09-26 15:39:08 +03:00
parent 4a583d092c
commit d3b306f29e

View file

@ -16,7 +16,7 @@ namespace psemek::pcg
dist d{range};
gfx::basic_pixmap<T> result(width, height);
gfx::basic_pixmap<T> result({width, height});
for (std::size_t x = 0; x < width; ++x)
for (std::size_t y = 0; y < height; ++y)