inspector/general.c: Check whether GL context supports WGL
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 30 Mar 2022 02:23:49 +0000 (10:23 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 30 Mar 2022 08:09:18 +0000 (16:09 +0800)
commit89d87e34827ff6d954cbc45b8e9e42b4ec17a987
tree2a15e6fa944c8d0cbe12fd0b058f2d1cd04d2058
parent04c9c6b4284110746089adadc12701b7f3bbf379
inspector/general.c: Check whether GL context supports WGL

We may well be using an EGL context that does not support Desktop (W)GL on
Windows, such as in the case of using libANGLE.  So, check whether WGL is
supported for this running instance before trying to query WGL extensions.

This will get rid of warning messages from libepoxy.
gtk/inspector/general.c