From d46016f4d94b5c7ac4322c82f5e4329f961d85f7 Mon Sep 17 00:00:00 2001 From: AndreaGuarracino Date: Wed, 7 Feb 2024 11:30:03 +0100 Subject: [PATCH] revert instruction in `to_rgba` --- src/algorithms/atomic_image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/atomic_image.cpp b/src/algorithms/atomic_image.cpp index 255185e1..d7272552 100644 --- a/src/algorithms/atomic_image.cpp +++ b/src/algorithms/atomic_image.cpp @@ -99,7 +99,7 @@ std::string to_rgba(const color_t& c) { ss << (int)c.c.r << ","; ss << (int)c.c.g << ","; ss << (int)c.c.b << ","; - ss << (int)1 << ")"; + ss << (int)c.c.a << ")"; return ss.str(); }