GEL
2
GEL is a library for Geometry and Linear Algebra
|
00001 /* 00002 adding DDS loading support to stbi 00003 */ 00004 00005 #ifndef HEADER_STB_IMAGE_DDS_AUGMENTATION 00006 #define HEADER_STB_IMAGE_DDS_AUGMENTATION 00007 00008 // is it a DDS file? 00009 extern int stbi_dds_test_memory (stbi_uc const *buffer, int len); 00010 00011 extern stbi_uc *stbi_dds_load (char *filename, int *x, int *y, int *comp, int req_comp); 00012 extern stbi_uc *stbi_dds_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 00013 #ifndef STBI_NO_STDIO 00014 extern int stbi_dds_test_file (FILE *f); 00015 extern stbi_uc *stbi_dds_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 00016 #endif 00017 00018 // 00019 // 00021 #endif // HEADER_STB_IMAGE_DDS_AUGMENTATION