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)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 21 Apr 2022 23:16:13 +0000 (19:16 -0400)
commit177302cf4dcdfe2d6c7a03057e5206c8175f0798
tree5fb4a70685dbd61e17e3b9e6b101d0a66cddc07c
parentd1fc90e8a2f5c6533819200cd1ead5928b89d1c6
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