mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
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:
parent
dded5271e4
commit
8424cafbac
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue