win32: Actually increase the counter
authorBenjamin Otte <otte@redhat.com>
Wed, 26 Apr 2023 23:27:50 +0000 (01:27 +0200)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 9 May 2023 10:15:23 +0000 (18:15 +0800)
commitc37786af360ac1e2b205bff6d84bf47a64253d54
treefdca0125cddbe62d29ff8dcb3f46b160d68142cd
parenta7b09e19f1eea891b60864b79ab14be837606130
win32: Actually increase the counter

We were sending random junk to ChoosePixelFormat().

Also assert that we don't overflow the array. That might be usefu to
know if we carelessly add attributes later.
gdk/win32/gdkglcontext-win32-wgl.c