Преглед изворни кода

update stb_image version number

Sean Barrett пре 11 година
родитељ
комит
b000f920ac
3 измењених фајлова са 10 додато и 2 уклоњено
  1. 1 1
      README.md
  2. 5 1
      stb_image.h
  3. 4 0
      tests/stb.dsp

+ 1 - 1
README.md

@@ -6,7 +6,7 @@ single-file public domain libraries for C/C++
 library    | lastest version | category | description
 --------------------- | ---- | -------- | --------------------------------
 **stb_vorbis.c** | 1.01 | audio | decode ogg vorbis files from file/memory to float/16-bit signed output
-**stb_image.h** | 1.39 | graphics | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
+**stb_image.h** | 1.40 | 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_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++

+ 5 - 1
stb_image.h

@@ -1,4 +1,4 @@
-/* stb_image - v1.39 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c
+/* stb_image - v1.40 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c
    when you control the images you're loading
                                      no warranty implied; use at your own risk
 
@@ -26,6 +26,7 @@
       - overridable dequantizing-IDCT, YCbCr-to-RGB conversion (define STBI_SIMD)
 
    Latest revisions:
+      1.40 (2014-06-22) gcc warning
       1.39 (2014-06-15) TGA optimization fix, multiple BMP fixes
       1.38 (2014-06-06) suppress MSVC run-time warnings, fix accidental rename of 'skip'
       1.37 (2014-06-04) remove duplicate typedef
@@ -66,6 +67,7 @@
  isn't, let Sean know.                           Guillaume George
                                                  Jerry Jansson
                                                  Hayaki Saito
+                                                 Johan Duparc
 */
 
 #ifndef STBI_INCLUDE_STB_IMAGE_H
@@ -4542,6 +4544,8 @@ STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int
 
 /*
    revision history:
+      1.40 (2014-06-22)
+             fix gcc struct-initialization warning
       1.39 (2014-06-15)
              fix to TGA optimization when req_comp != number of components in TGA;
              fix to GIF loading because BMP wasn't rewinding (whoops, no GIFs in my test suite)

+ 4 - 0
tests/stb.dsp

@@ -106,6 +106,10 @@ SOURCE=..\stb_dxt.h
 # End Source File
 # Begin Source File
 
+SOURCE=..\stb_image.h
+# End Source File
+# Begin Source File
+
 SOURCE=..\stb_image_write.h
 # End Source File
 # Begin Source File