[clutter/clutter-1.16] conform: Conditionally execute the texture-fbo unit
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.16] conform: Conditionally execute the texture-fbo unit
- Date: Mon, 24 Jun 2013 18:46:54 +0000 (UTC)
commit de20785b1b5975dacdfef59c072f4e195542b130
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Jun 24 19:43:44 2013 +0100
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.
tests/conform/texture-fbo.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/conform/texture-fbo.c b/tests/conform/texture-fbo.c
index 0572447..caec4cc 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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]