Commit b522bbc8 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: fix build with HAVE_GBM_BO_GET_FD_FOR_PLANE=0

parent 000f3d83
Pipeline #169111 passed with stage
in 24 minutes and 29 seconds
......@@ -168,7 +168,7 @@ bool EglGbmLayerSurface::createGbmSurface(const QSize &size, uint32_t format, co
if (!allowModifiers) {
// modifiers have to be disabled with multi-gpu if gbm_bo_get_fd_for_plane is not available
if (!allowModifiers || m_pipeline->gpu() != m_eglBackend->gpu()) {
if (!allowModifiers || m_gpu != m_eglBackend->gpu()) {
if (m_gpu == m_eglBackend->gpu()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment