YaGL/VIGS: Use wglMakeCurrent instead of wglMakeContextCurrentARB when possible 62/13962/1
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Thu, 19 Dec 2013 08:07:59 +0000 (11:07 +0300)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Thu, 19 Dec 2013 08:19:38 +0000 (12:19 +0400)
commitde72735e8f9b1fdae8fcd0e38e5c64b5437b9374
treee2cfa0ba9a787ec10f56cc366237e62a0f3bc70f
parent261f9424b68eeecf9b9e436e52512c508bb86a3d
YaGL/VIGS: Use wglMakeCurrent instead of wglMakeContextCurrentARB when possible

GPUs like Intel HD Graphics 2000 and some ATI cards may crash
when using wglMakeContextCurrentARB when draw_sfc == read_sfc. We
work around this by using wglMakeCurrent in this case

Change-Id: I80735a546d6e506ecc3581a5e78fdc8e04f3a95c
hw/vigs/vigs_gl_backend_wgl.c
hw/yagl/yagl_drivers/egl_wgl/yagl_egl_wgl.c