diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2021-09-17 17:08:23 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2021-09-17 17:08:23 +0800 |
commit | b57e70fdafd2cf7ef92d62958c54d284935dc309 (patch) | |
tree | bc7b8c5998a0657f3bfcf2ea2748c81837d7196a /gdk/wayland/gdkclipboard-wayland.h | |
parent | 75aa1a757b17eb8cef0d2cc23eca56d47e3ee45a (diff) | |
download | gtk+-fix-win32-shader-check.tar.gz |
gdkdisplay-win32.c: Don't retry WGL initializationfix-win32-shader-check
On Windows, GLES is not that widely available unless one installs wrapper
libraries such as libANGLE, so GLES/EGL support on Windows is used more like
a fallback mode if Desktop OpenGL (WGL) support is inadequate on the system.
Hence, unless one forces WGL or EGL, we will first try to initialize WGL, and
then try to initialize GLES if enabled and if WGL initialization failed, and
then just return whatever the last result we can obtain from these
initialization attempts, since unlike X11 EGL contexts, we do not have
separate modes for WGL except for legacy and non-legacy contexts.
Diffstat (limited to 'gdk/wayland/gdkclipboard-wayland.h')
0 files changed, 0 insertions, 0 deletions