GDK/Win32: Use dummy WGL contexts more
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 4 May 2023 16:09:43 +0000 (00:09 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 9 May 2023 10:15:23 +0000 (18:15 +0800)
commita7b09e19f1eea891b60864b79ab14be837606130
tree89e2cf16b061525031f5b1e3e137ab81fec680bc
parent50ef36d38794aab6361c94cdb3fa780e7fc4d1bc
GDK/Win32: Use dummy WGL contexts more

... for creating the actual WGL contexts, so that we can cut down on the
number of times where we need to create the base, legacy WGL contexts in
order to create the WGL contexts with attributes.  We could just use the
dummy context that we have to make it current to create the needed
WGL contexts.
gdk/win32/gdkglcontext-win32-wgl.c