68a6e82828
The stock 1.2.x version of SDL only supports regular OpenGL. The version on WebOS is specially patched to add some extra API to request a GLES1 or GLES2 context. This patch adds a configure check to detect when Cogl is being built with the patched version of SDL. In that case it will additionally allow the gles1 and gles2 drivers and set the right video mode attributes to get the corresponding context. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 3726c60deab2bd94617a562abb63f735627a25e4)