summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2007-07-17 03:34:14 +0000
committerpixel <pixel>2007-07-17 03:34:14 +0000
commitf23d2c9f6e14e26abbea0efdb3b545e985871d6a (patch)
tree85ff08789fef685a785ba55410697211dc018156
parent4d024066bfe998dcfeb868c4983fc0eb305998b9 (diff)
Forgot the C++ protection.
-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