gl/tests: fix shader creation tests
authorMatthew Waters <matthew@centricular.com>
Fri, 7 Jun 2019 10:51:39 +0000 (20:51 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 9 Aug 2019 14:59:26 +0000 (15:59 +0100)
commit547a7f9224901593951b929d1c5b68089c79e522
tree5a53e86091e6fd623532125c262078eeb648ab99
parent0aaf3efe3f5d0cf2d2635c120426b61d74a9b190
gl/tests: fix shader creation tests

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
tests/check/libs/gstglslstage.c