Skip to content

Commit

Permalink
Pull in the header for clamp
Browse files Browse the repository at this point in the history
When doing a build with my own build of clang-20 on an Ubuntu 22.04
system I got a build failure due to this.
  • Loading branch information
alycm committed Jan 28, 2025
1 parent 6d689a9 commit 851db4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Utilities/include/image_conv.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#ifndef __IMAGE_CONV_H__
#define __IMAGE_CONV_H__

#include <algorithm> // For clamp

#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#define STB_IMAGE_WRITE_IMPLEMENTATION
Expand Down

0 comments on commit 851db4f

Please sign in to comment.