conform: Conditionally execute the texture-fbo unit

If we don't have support for offscreen buffers, then there's no point in
testing FBO support in ClutterTexture — a feature that has been long
since deprecated, on a deprecated class.
This commit is contained in:
Emmanuele Bassi 2013-06-24 19:43:44 +01:00
parent 18917259fe
commit de20785b1b

View File

@ -176,6 +176,9 @@ texture_fbo (TestConformSimpleFixture *fixture,
ClutterActor *actor;
int ypos = 0;
if (!cogl_features_available (COGL_FEATURE_OFFSCREEN))
return;
state.frame = 0;
state.stage = clutter_stage_new ();