1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef __DDS_H__ #define __DDS_H__ #ifdef __cplusplus extern "C" { #endif int ddsInit(); // returns the OpenGL-generated texture index. int loadCompressedTexture( const char *fname, int * width, int * height ); #ifdef __cplusplus } #endif #endif