mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
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
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue