hostsupport/hostopengles20/src/texture.h
branchbug235_bringup_0
changeset 77 b0395290e61f
parent 55 09263774e342
--- a/hostsupport/hostopengles20/src/texture.h	Fri Nov 12 17:56:05 2010 +0000
+++ b/hostsupport/hostopengles20/src/texture.h	Mon Nov 15 09:56:25 2010 +0000
@@ -56,6 +56,11 @@
 	GLeglImageOES egl_image[6]; // EGLimage this texture is a sibling of.
 } DGLTexture;
 
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
 DGLTexture*			DGLTexture_create(GLuint name, DGLTextureType type, GLint num_levels);
 void				DGLTexture_destroy(DGLTexture* texture);
 GLboolean			DGLTexture_isComplete(const DGLTexture* texture);
@@ -67,4 +72,8 @@
 void				DGLTexture_setEGLImage(DGLTexture* texture, GLenum target, GLeglImageOES image);
 void				DGLTexture_generateMipmap(DGLTexture* texture);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 #endif // TEXTURE_H_