mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 02:20:42 +00:00
Accept both primary and overlay planes on Rockchip platforms
Fixes #861
This commit is contained in:
@@ -345,7 +345,8 @@ int rk_setup(int videoFormat, int width, int height, int redrawRate, void* conte
|
||||
if (!prop) {
|
||||
continue;
|
||||
}
|
||||
if (!strcmp(prop->name, "type") && props->prop_values[j] == DRM_PLANE_TYPE_OVERLAY) {
|
||||
if (!strcmp(prop->name, "type") && (props->prop_values[j] == DRM_PLANE_TYPE_OVERLAY ||
|
||||
props->prop_values[j] == DRM_PLANE_TYPE_PRIMARY)) {
|
||||
plane_id = ovr->plane_id;
|
||||
}
|
||||
drmModeFreeProperty(prop);
|
||||
|
||||
Reference in New Issue
Block a user