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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile.am | ||
| dri_helpers.c | ||
| dri_helpers.h | ||
| gen_gl_wrappers.py | ||
| glshim.c | ||
| glthunk.c | ||
| glwindows.h | ||
| indirect.c | ||
| indirect.h | ||
| meson.build | ||
| wgl_ext_api.c | ||
| wgl_ext_api.h | ||
| winpriv.c | ||
| winpriv.h | ||