summary refs log tree commit diff
path: root/src/GFX/Image/RawImage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GFX/Image/RawImage.cpp')
-rw-r--r--src/GFX/Image/RawImage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GFX/Image/RawImage.cpp b/src/GFX/Image/RawImage.cpp
index 6cb06b2..0bd2947 100644
--- a/src/GFX/Image/RawImage.cpp
+++ b/src/GFX/Image/RawImage.cpp
@@ -28,9 +28,9 @@ std::string RawImage::string() const {
 
     bool comma = false;
     str << "[";
-    for (const auto [r, g, b] : m_pixels) {
+    for (const auto [r, g, b, a] : m_pixels) {
         if (comma) { str << ", "; }
-        str << "{r=" << (uint)r << ", g=" << (uint)g << ", b=" << (uint)r << "}";
+        str << "{r=" << (uint)r << ", g=" << (uint)g << ", b=" << (uint)b << ", a=" << (uint)a << "}";
         comma = true;
     }
     str << "]";