tests/gl_basic_test: add GL_CONTEXT_PROFILE_MASK check
commitd09744aed8c97ccdbb39097f03c0ce42c17ce5f9
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 25 Mar 2020 17:48:59 +0000 (25 17:48 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 4 May 2020 17:27:12 +0000 (4 18:27 +0100)
tree4e18474129a890ab4c13bd3eb72c09160c67f124
parentcac7812fa053e5a99d5cecb7b2d04a26dfb89fe9
tests/gl_basic_test: add GL_CONTEXT_PROFILE_MASK check

Earlier commit added a string based check for the GL profile. Yet with
version GL 3.2 one can query the profile (mask).

Add that alongside the existing, string semi-magic.

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