mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-28 04:16:53 +01:00
4a0c8fc0c9
enable newline normalization get revision number via `hg svn info` for svnrev.h ignore incremental/generated binary files (windows/VS at least) leave a comment if some files need native eol set in svnprops git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5637 8ced0084-cf51-0410-be5f-012b33b47a6e
22 lines
777 B
C
22 lines
777 B
C
/*
|
|
adding DDS loading support to stbi
|
|
*/
|
|
|
|
#ifndef HEADER_STB_IMAGE_DDS_AUGMENTATION
|
|
#define HEADER_STB_IMAGE_DDS_AUGMENTATION
|
|
|
|
// is it a DDS file?
|
|
extern int stbi_dds_test_memory (stbi_uc const *buffer, int len);
|
|
|
|
extern stbi_uc *stbi_dds_load (char *filename, int *x, int *y, int *comp, int req_comp);
|
|
extern stbi_uc *stbi_dds_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
|
|
#ifndef STBI_NO_STDIO
|
|
extern int stbi_dds_test_file (FILE *f);
|
|
extern stbi_uc *stbi_dds_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp);
|
|
#endif
|
|
|
|
//
|
|
//
|
|
//// end header file /////////////////////////////////////////////////////
|
|
#endif // HEADER_STB_IMAGE_DDS_AUGMENTATION
|