fix: continue layering when fbs available
Trying to layer onto planes should be continued when fb ids are set and not the other way around. Here the assert also failed when only having one layer.
This commit is contained in:
parent
be1ff3d903
commit
d17f234738
1 changed files with 2 additions and 2 deletions
|
@ -702,7 +702,7 @@ bool drm_can_avoid_composite( struct drm_t *drm, struct Composite_t *pComposite,
|
|||
liftoff_layer_set_property( drm->lo_layers[ i ], "rotation", DRM_MODE_ROTATE_270);
|
||||
}
|
||||
|
||||
if ( pPipeline->layerBindings[ i ].fbid != 0 )
|
||||
if ( pPipeline->layerBindings[ i ].fbid == 0 )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue