From a524079f798f8b42c55afde5c40d0d2ec00aa59c Mon Sep 17 00:00:00 2001 From: Jesse Yurkovich Date: Wed, 23 Aug 2023 21:01:27 -0700 Subject: [PATCH] clang-format Signed-off-by: Jesse Yurkovich --- src/dds.imageio/ddsinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dds.imageio/ddsinput.cpp b/src/dds.imageio/ddsinput.cpp index 382bbf7e81..a15097d76b 100644 --- a/src/dds.imageio/ddsinput.cpp +++ b/src/dds.imageio/ddsinput.cpp @@ -788,7 +788,7 @@ DDSInput::internal_readimg(unsigned char* dst, int w, int h, int d) int k; for (int y = 0; y < h; y++) { for (int x = 0; x < w; x++) { - k = (y * w + x) * 4; + k = (y * w + x) * 4; if (dst[k + 3]) { dst[k + 0] = (unsigned char)((int)dst[k + 0] * 255 / (int)dst[k + 3]);