wgl: Wrap stw_pixelformat.h into extern C
Reviewed-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7535>
This commit is contained in:
parent
584061bdcd
commit
e74b3e570a
|
@ -38,6 +38,10 @@
|
|||
#include "pipe/p_format.h"
|
||||
#include "frontend/api.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct stw_pixelformat_info
|
||||
{
|
||||
PIXELFORMATDESCRIPTOR pfd;
|
||||
|
@ -68,4 +72,8 @@ stw_pixelformat_choose( HDC hdc,
|
|||
int
|
||||
stw_pixelformat_get(HDC hdc);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* STW_PIXELFORMAT_H */
|
||||
|
|
Loading…
Reference in New Issue