mesa: Add extern "C" guards to shaderimage.h to allow inclusion from C++ code.

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Francisco Jerez 2014-11-12 03:47:13 +02:00
parent dded5271e4
commit 8424cafbac

View file

@ -30,6 +30,10 @@
#include "glheader.h"
#include "formats.h"
#ifdef __cplusplus
extern "C" {
#endif
struct gl_context;
/**
@ -58,4 +62,8 @@ _mesa_BindImageTextures(GLuint first, GLsizei count, const GLuint *textures);
void GLAPIENTRY
_mesa_MemoryBarrier(GLbitfield barriers);
#ifdef __cplusplus
}
#endif
#endif