summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/dds.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dds.h b/include/dds.h
index 5a0352e..d16d3ac 100644
--- a/include/dds.h
+++ b/include/dds.h
@@ -1,9 +1,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 );
+#ifdef __cplusplus
+}
+#endif
+
#endif