gitlab-ci: enable sanitizers for the meson builds
[mesa-waffle.git] / src / waffle / wgl / wgl_platform.h
blob63e9cc099cc7b7926f541905d48d1e54a9ed74bd
1 // SPDX-FileCopyrightText: Copyright 2014 Emil Velikov
2 // SPDX-License-Identifier: BSD-2-Clause
4 #pragma once
6 #include "wcore_platform.h"
7 #include "wcore_util.h"
9 struct wgl_platform {
10 struct wcore_platform wcore;
12 /// @brief The full system version number - (major << 8) | minor.
13 ///
14 /// For example, 0x0501 indicates Windows XP.
15 int32_t system_version_full;
17 /// @brief The class name of the waffle windows.
18 const char *class_name;
21 static inline struct wgl_platform*
22 wgl_platform(struct wcore_platform *wcore)
24 return (struct wgl_platform*)wcore;
27 struct wcore_platform*
28 wgl_platform_create(void);