mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02: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 "main/mtypes.h"
|
||||||
#include "ir_to_mesa.h"
|
#include "ir_to_mesa.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
/**
|
/**
|
||||||
* Internal functions
|
* Internal functions
|
||||||
*/
|
*/
|
||||||
|
|
@ -109,5 +112,8 @@ _mesa_validate_shader_program(GLcontext *ctx,
|
||||||
extern void
|
extern void
|
||||||
_mesa_init_glsl_driver_functions(struct dd_function_table *driver);
|
_mesa_init_glsl_driver_functions(struct dd_function_table *driver);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* SHADER_API_H */
|
#endif /* SHADER_API_H */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue