1 // SPDX-FileCopyrightText: Copyright 2014 Emil Velikov
2 // SPDX-License-Identifier: BSD-2-Clause
11 #include "wcore_config.h"
12 #include "wcore_util.h"
14 struct wcore_config_attrs
;
15 struct wcore_platform
;
19 struct wcore_config wcore
;
20 PIXELFORMATDESCRIPTOR pfd
;
23 // XXX: Currently we manage only one window per config.
24 struct wgl_window
*window
;
27 static inline struct wgl_config
*
28 wgl_config(struct wcore_config
*wcore
)
30 return (struct wgl_config
*)wcore
;
34 wgl_config_choose(struct wcore_platform
*wc_plat
,
35 struct wcore_display
*wc_dpy
,
36 const struct wcore_config_attrs
*attrs
);
39 wgl_config_destroy(struct wcore_config
*wc_self
);