diff options
author | Brian Paul <[email protected]> | 2014-12-15 16:46:46 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-12-16 07:52:41 -0700 |
commit | d260348130853dd2aa7d87e03cdcd25e8ad39676 (patch) | |
tree | 4d0ff33392748b06feef012edec8c14f6dfbb79a /src/mesa/state_tracker | |
parent | de42431a9d761305c9911f30b5880a9a049a2d60 (diff) |
st/mesa: add extern "C" to st_program.h
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_program.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h index cf1b40a55fc..870d0d57a86 100644 --- a/src/mesa/state_tracker/st_program.h +++ b/src/mesa/state_tracker/st_program.h @@ -41,6 +41,11 @@ #include "st_glsl_to_tgsi.h" +#ifdef __cplusplus +extern "C" { +#endif + + /** Fragment program variant key */ struct st_fp_variant_key { @@ -347,4 +352,8 @@ extern void st_print_current_vertex_program(void); +#ifdef __cplusplus +} +#endif + #endif |