tests/gl_basic_test: add apple/core context workaround
commit88aa3290e96fdce5bfeb97eaa6203eaf4f1d413e
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 4 May 2020 17:10:44 +0000 (4 18:10 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 4 May 2020 17:27:12 +0000 (4 18:27 +0100)
tree5d3e9068618e8af7eb25357f105241cf6403f747
parent318199caf551c4bd534dad5fb2c414be22865a43
tests/gl_basic_test: add apple/core context workaround

Based on internet observations, Apple does not expose "(Core Profile)"
in the GL_VERSION string.

Add a "lovely" warning message + a workaround. Not 100% sure how useful
the former is, although it should not be too spammy.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
tests/functional/gl_basic_test.c