gl/tests: fix shader creation tests part 2
authorMatthew Waters <matthew@centricular.com>
Fri, 7 Jun 2019 16:57:37 +0000 (02:57 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 9 Aug 2019 16:05:12 +0000 (17:05 +0100)
commit95d3839416cb966b60bfe37b6e9fd047f59cc861
treed01800e36f6e1d3eac3b4e4f40548ceea613d6f9
parent547a7f9224901593951b929d1c5b68089c79e522
gl/tests: fix shader creation tests part 2

Continuation of 4fd7a2c783e96e5ebec513f8fd178ba34b2a527f

We check the availability of the high precision floats in GLSL shaders
which involves an OpenGL call and thus is required to be executed on the
OpenGL thread.

The tests were not respecting that and could fail on more strict
drivers.

Tests update for 675415bf2ea9ddc75ea5e5b6eae9ae942c19d6dc
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/590
tests/check/libs/gstglheaders.c