mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 21:30:09 +01:00
Make shader_api.h be C++ friendly
This commit is contained in:
parent
c67016de96
commit
ffd7bb031e
1 changed files with 6 additions and 0 deletions
|
|
@ -32,6 +32,9 @@
|
|||
#include "main/mtypes.h"
|
||||
#include "ir_to_mesa.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/**
|
||||
* Internal functions
|
||||
*/
|
||||
|
|
@ -109,5 +112,8 @@ _mesa_validate_shader_program(GLcontext *ctx,
|
|||
extern void
|
||||
_mesa_init_glsl_driver_functions(struct dd_function_table *driver);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif /* SHADER_API_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue