Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
b522bbc8
Commit
b522bbc8
authored
Apr 27, 2022
by
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/backends/drm/egl_gbm_layer_surface.cpp
View file @
b522bbc8
...
...
@@ -168,7 +168,7 @@ bool EglGbmLayerSurface::createGbmSurface(const QSize &size, uint32_t format, co
if
(
!
allowModifiers
)
{
#else
// 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
())
{
#endif
int
flags
=
GBM_BO_USE_RENDERING
;
if
(
m_gpu
==
m_eglBackend
->
gpu
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment