Cleanup "GDK/Win32: Try to fix initializing GLES contexts"
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 18 Jan 2022 02:41:28 +0000 (10:41 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 19 Jan 2022 03:56:32 +0000 (11:56 +0800)
commit6f2848c311fd06f8bf33bb755bc1cf665ffe0bc3
tree1bcdb552324f2fd47bf1b159b22ab16c20859b56
parent38c17c1f796a394d0cf559712ac7a78409c4ea8b
Cleanup "GDK/Win32: Try to fix initializing GLES contexts"

As per Benjamin's suggestions, cleanup the previous implementation on
initializing the GLES context on Windows, so that we use more items that are
already in GDK proper and integrate two functions into one.
gdk/win32/gdkdisplay-win32.c
gdk/win32/gdkdisplay-win32.h
gdk/win32/gdkglcontext-win32-wgl.c