diff -r 24381b61de5c -r b0395290e61f hostsupport/hostopengles20/src/texture.h --- 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_