mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
gallium: wrap u_screen in extern "C" for c++
Some drivers (notabily SWR) are written in C++, and as such they need access to C headers with extern "C". So lets add that.
This commit is contained in:
parent
24a5b56d69
commit
7379a9b44f
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue