Ver código fonte

stb_image.h version number increase

Sean Barrett 11 anos atrás
pai
commit
47a34c1723
2 arquivos alterados com 5 adições e 2 exclusões
  1. 1 1
      README.md
  2. 4 1
      stb_image.h

+ 1 - 1
README.md

@@ -6,7 +6,7 @@ single-file public domain libraries for C/C++
 library    | lastest version | category | description
 library    | lastest version | category | description
 --------------------- | ---- | -------- | --------------------------------
 --------------------- | ---- | -------- | --------------------------------
 **stb_vorbis.c** | 1.0 | audio | decode ogg vorbis files from file/memory to float/16-bit signed output
 **stb_vorbis.c** | 1.0 | audio | decode ogg vorbis files from file/memory to float/16-bit signed output
-**stb_image.h** | 1.37 | graphics | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
+**stb_image.h** | 1.38 | graphics | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
 **stb_truetype.h** | 0.8 | graphics | parse, decode, and rasterize characters from truetype fonts
 **stb_truetype.h** | 0.8 | graphics | parse, decode, and rasterize characters from truetype fonts
 **stb_image_write.h** | 0.94 | graphics | image writing to disk: PNG, TGA, BMP
 **stb_image_write.h** | 0.94 | graphics | image writing to disk: PNG, TGA, BMP
 **stretchy_buffer.h** | 1.01 | utility | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++
 **stretchy_buffer.h** | 1.01 | utility | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++

+ 4 - 1
stb_image.h

@@ -1,4 +1,4 @@
-/* stb_image - v1.37 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c
+/* stb_image - v1.38 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c
    when you control the images you're loading
    when you control the images you're loading
                                      no warranty implied; use at your own risk
                                      no warranty implied; use at your own risk
 
 
@@ -26,6 +26,7 @@
       - overridable dequantizing-IDCT, YCbCr-to-RGB conversion (define STBI_SIMD)
       - overridable dequantizing-IDCT, YCbCr-to-RGB conversion (define STBI_SIMD)
 
 
    Latest revisions:
    Latest revisions:
+      1.38 (2014-06-06) suppress MSVC run-time warnings
       1.37 (2014-06-04) remove duplicate typedef
       1.37 (2014-06-04) remove duplicate typedef
       1.36 (2014-06-03) converted to header file, allow reading incorrect iphoned-images without iphone flag
       1.36 (2014-06-03) converted to header file, allow reading incorrect iphoned-images without iphone flag
       1.35 (2014-05-27) warnings, bugfixes, TGA optimization, etc
       1.35 (2014-05-27) warnings, bugfixes, TGA optimization, etc
@@ -4531,6 +4532,8 @@ STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int
 
 
 /*
 /*
    revision history:
    revision history:
+      1.38 (2014-06-06)
+             suppress MSVC warnings on integer casts truncating values
       1.37 (2014-06-04)
       1.37 (2014-06-04)
              remove duplicate typedef
              remove duplicate typedef
       1.36 (2014-06-03)
       1.36 (2014-06-03)