VIGS: Try harder to get OpenGL 3.2 core context 25/17025/1
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Sat, 1 Mar 2014 09:38:41 +0000 (13:38 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Sat, 1 Mar 2014 11:13:13 +0000 (15:13 +0400)
commit4e59390ac8feebab2145eaca1ccfc912b23ca349
treea1737b315f726724ed22dd80db61791641bd9597
parentb302cd09ec8b582ccf9cc54db9d7efb7ed3a73e9
VIGS: Try harder to get OpenGL 3.2 core context

Querying for just OpenGL 3.1 isn't enough,
the implementation MAY return OpenGL 3.x where x > 1,
but it's not guaranteed. Thus, we must try to create
another context explicitly specifying OpenGL 3.2 core,
if that fails then we know for sure that OpenGL 3.2 core
isn't supported

Change-Id: I8625c65ed8f4781a94e03fff86ac737e514b0c69
hw/yagl/yagl_drivers/egl_glx/yagl_egl_glx.c
hw/yagl/yagl_drivers/egl_wgl/yagl_egl_wgl.c