diff options
Diffstat (limited to 'src/mesa/program/prog_optimize.h')
-rw-r--r-- | src/mesa/program/prog_optimize.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/program/prog_optimize.h b/src/mesa/program/prog_optimize.h index 7607bffddf0..1f20ac0f89a 100644 --- a/src/mesa/program/prog_optimize.h +++ b/src/mesa/program/prog_optimize.h @@ -29,6 +29,11 @@ #include "main/glheader.h" +#ifdef __cplusplus +extern "C" { +#endif + + struct gl_context; struct gl_program; struct prog_instruction; @@ -46,4 +51,10 @@ _mesa_optimize_program(struct gl_context *ctx, struct gl_program *program); extern GLboolean _mesa_constant_fold(struct gl_program *prog); + +#ifdef __cplusplus +} +#endif + + #endif |