diff --git a/include/gfx/png.hpp b/include/gfx/png.hpp index 4869bdd8..6fa1fd30 100644 --- a/include/gfx/png.hpp +++ b/include/gfx/png.hpp @@ -10,7 +10,8 @@ #include "gfx/rgba.hpp" struct Png { - uint32_t width, height; + uint32_t width = 0; + uint32_t height = 0; std::vector pixels{}; std::vector palette{};