xserver-multidpi/hw
Jon Turney ad6b4113cd hw/xwin/glx: Fallback to ChoosePixelFormat() if wglChoosePixelFormatARB() fails
In glxWinSetPixelFormat() handle the case where wglChoosePixelFormatARB()
fails and fallback to ChoosePixelFormat()

It seems for some drivers, wglChoosePixelFormatARB() can fail when the
provided DC doesn't belong to the driver (e.g. it's a compatible DC for a
bitmap, so allow a fallback to ChoosePixelFormat() if it fails.

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2018-09-25 16:02:09 +01:00
..
dmx dmx: Silence a string truncation warning. 2018-04-05 14:18:44 -04:00
kdrive meson: Remove XXX for libconfig in kdrive. 2018-08-02 10:27:26 -04:00
vfb vfb: Fix man page in re depth 2018-04-24 14:44:06 -04:00
xfree86 compiler.h: only use inx/outx on ARM with glibc 2018-09-25 14:25:56 +00:00
xnest meson: Install man pages 2018-03-27 10:28:33 -04:00
xquartz meson: Add HAVE_LIBDISPATCH define to xquartz build. 2018-08-09 13:28:19 -04:00
xwayland xwayland: Remove xwl_present_window from privates on cleanup 2018-09-10 15:05:44 +00:00
xwin hw/xwin/glx: Fallback to ChoosePixelFormat() if wglChoosePixelFormatARB() fails 2018-09-25 16:02:09 +01:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00