Ignore:
Timestamp:
01/05/17 13:50:41 (8 years ago)
Author:
epyon
Message:
  • mass update
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/image/png_writer.cc

    r520 r529  
    4747
    4848// initialize a callback-based context
    49 static void stbi__start_write_callbacks( stbi__write_context *s, stbi_write_func *c, void *context )
    50 {
    51         s->func = c;
    52         s->context = context;
    53 }
     49// static void stbi__start_write_callbacks( stbi__write_context *s, stbi_write_func *c, void *context )
     50// {
     51//      s->func = c;
     52//      s->context = context;
     53// }
    5454
    5555typedef unsigned int stbiw_uint32;
     
    6565#define stbi__errpuc(x,y)  ((unsigned char *)(size_t) (stbi__err(x,y)?NULL:NULL))
    6666
     67/*
    6768static void stbiw__writefv( stbi__write_context *s, const char *fmt, va_list v )
    6869{
     
    139140                        break;
    140141                }
    141                 /* FALLTHROUGH */
     142                // FALLTHROUGH
    142143        case 3:
    143144                stbiw__write3( s, d[1 - rgb_dir], d[1], d[1 + rgb_dir] );
     
    188189        }
    189190}
    190 
     191*/
    191192
    192193static unsigned int stbiw__crc32( unsigned char *buffer, int len )
     
    253254}
    254255
    255 unsigned char * stbi_zlib_compress( unsigned char *data, int data_len, int *out_len, int quality )
     256unsigned char * stbi_zlib_compress( unsigned char *data, int data_len, int *out_len, int /*quality*/ )
    256257{
    257258        unsigned long expected = nv::miniz_bound( data_len );
Note: See TracChangeset for help on using the changeset viewer.