1/*
2 adding DDS loading support to stbi
3*/
4
5#ifndef HEADER_STB_IMAGE_DDS_AUGMENTATION
6#define HEADER_STB_IMAGE_DDS_AUGMENTATION
7
8// is it a DDS file?
9extern int stbi_dds_test_memory (stbi_uc const *buffer, int len);
10
11extern stbi_uc *stbi_dds_load (char *filename, int *x, int *y, int *comp, int req_comp);
12extern stbi_uc *stbi_dds_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
13#ifndef STBI_NO_STDIO
14extern int stbi_dds_test_file (FILE *f);
15extern stbi_uc *stbi_dds_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp);
16#endif
17
18//
19//
20//// end header file /////////////////////////////////////////////////////
21#endif // HEADER_STB_IMAGE_DDS_AUGMENTATION
22