mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
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:
parent
18917259fe
commit
de20785b1b
@ -176,6 +176,9 @@ texture_fbo (TestConformSimpleFixture *fixture,
|
|||||||
ClutterActor *actor;
|
ClutterActor *actor;
|
||||||
int ypos = 0;
|
int ypos = 0;
|
||||||
|
|
||||||
|
if (!cogl_features_available (COGL_FEATURE_OFFSCREEN))
|
||||||
|
return;
|
||||||
|
|
||||||
state.frame = 0;
|
state.frame = 0;
|
||||||
|
|
||||||
state.stage = clutter_stage_new ();
|
state.stage = clutter_stage_new ();
|
||||||
|
Loading…
Reference in New Issue
Block a user