diff options
-rw-r--r-- | src/vk/qoi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vk/qoi.cpp b/src/vk/qoi.cpp index 4e2b2a4..bc0caab 100644 --- a/src/vk/qoi.cpp +++ b/src/vk/qoi.cpp @@ -50,7 +50,7 @@ RGBA::RGBA(): red{0}, green{0}, blue{0}, - alpha{255} + alpha{0} { } @@ -130,7 +130,7 @@ Image::Image(const char *file_path, uint8_t channels): this->pixels = new uint8_t[this->pixels_len]; std::array<Pixel, 64> index; - Pixel pixel{}; + Pixel pixel(0, 0, 0, 255); int chunks_len = input.size() - (int)sizeof(PADDING); /* |