Handle failure to get any useful pixel formats for GLX fbconfigs more gracefully: If we didn't get any useful pixel formats from wglGetPixelFormatAttribivARB(), fall back to using DescribePixelFormat(). If that doesn't give us any useful pixel formats, fallback to software rendering. This works around a problem with Intel 845G drivers, where wglGetPixelFormatAttribivARB() doesn't seem to work as we expect it to... Reviewed-by: Colin Harrison <colin.harrison@virgin.net> Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile.am | ||
| gen_gl_wrappers.py | ||
| glwindows.h | ||
| glwrap.c | ||
| indirect.c | ||
| wgl_ext_api.c | ||
| wgl_ext_api.h | ||
| winpriv.c | ||
| winpriv.h | ||