Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stb_image.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ RECENT REVISION HISTORY:
Marc LeBlanc David Woo Guillaume George Martins Mozeiko
Christpher Lloyd Jerry Jansson Joseph Thomson Blazej Dariusz Roszkowski
Phil Jordan Dave Moore Roy Eltham
Hayaki Saito Nathan Reed Won Chun
Hayaki Saito Nathan Reed Won Chun Björn Wahlstrand
Luke Graham Johan Duparc Nick Verigakis the Horde3D community
Thomas Ruf Ronny Chevalier github:rlyeh
Janez Zemva John Bartholomew Michal Cichon github:romigrou
Expand Down Expand Up @@ -2423,7 +2423,7 @@ stbi_inline static stbi_uc stbi__clamp(int x)
return (stbi_uc) x;
}

#define stbi__f2f(x) ((int) (((x) * 4096 + 0.5)))
#define stbi__f2f(x) ((int) (((x) * 4096 + 0.5f)))
#define stbi__fsh(x) ((x) * 4096)

// derived from jidctint -- DCT_ISLOW
Expand Down