conform: Bail out GLSL-based tests

If we don't have GLSL support on the platform.
This commit is contained in:
Emmanuele Bassi
2011-11-22 01:00:58 +00:00
parent 52ea1510a1
commit a24ff882b6
2 changed files with 9 additions and 0 deletions

View File

@ -239,6 +239,9 @@ test_shader_effect (TestConformSimpleFixture *fixture,
ClutterActor *stage;
ClutterActor *rect;
if (!clutter_feature_available (CLUTTER_FEATURE_SHADERS_GLSL))
return;
stage = clutter_stage_new ();
rect = make_actor (foo_old_shader_effect_get_type ());