Changeset 486 for trunk/src/image/png_loader.cc
- Timestamp:
- 02/24/16 18:47:54 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/image/png_loader.cc
r484 r486 665 665 } 666 666 667 667 668 static int stbi__unpremultiply_on_load = 0; 668 669 static int stbi__de_iphone_flag = 0; 669 670 671 /* 670 672 static void stbi_set_unpremultiply_on_load( int flag_true_if_should_unpremultiply ) 671 673 { … … 677 679 stbi__de_iphone_flag = flag_true_if_should_convert; 678 680 } 681 */ 679 682 680 683 static void stbi__de_iphone( stbi__png *z ) … … 1021 1024 } 1022 1025 1026 bool nv::png_loader::test( stream& str ) 1027 { 1028 stbi__context s( &stbi__callbacks, (void *)&str ); 1029 return stbi__png_test( &s ) != 0; 1030 } 1031 1023 1032 image_data* nv::png_loader::load( stream& s ) 1024 1033 {
Note: See TracChangeset
for help on using the changeset viewer.