From de20785b1b5975dacdfef59c072f4e195542b130 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 24 Jun 2013 19:43:44 +0100 Subject: [PATCH] conform: Conditionally execute the texture-fbo unit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tests/conform/texture-fbo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/conform/texture-fbo.c b/tests/conform/texture-fbo.c index 0572447d1..caec4cc96 100644 --- a/tests/conform/texture-fbo.c +++ b/tests/conform/texture-fbo.c @@ -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 ();