Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Yurkovich <[email protected]>
  • Loading branch information
jessey-git committed Aug 24, 2023
1 parent 64c1495 commit a524079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dds.imageio/ddsinput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit a524079

Please sign in to comment.