diff --git a/src/gallium/auxiliary/util/u_screen.h b/src/gallium/auxiliary/util/u_screen.h index 65afb277ef3..3952a11f2ca 100644 --- a/src/gallium/auxiliary/util/u_screen.h +++ b/src/gallium/auxiliary/util/u_screen.h @@ -24,6 +24,14 @@ struct pipe_screen; enum pipe_cap; +#ifdef __cplusplus +extern "C" { +#endif + int u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen, enum pipe_cap param); + +#ifdef __cplusplus +}; +#endif