Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
Krfb
Commits
3a1a5ad7
Commit
3a1a5ad7
authored
Jun 03, 2021
by
Ömer Fadıl Usta
😊
Browse files
Add missing check for HAVE_DMA_BUF
parent
8e667abe
Changes
1
Hide whitespace changes
Inline
Side-by-side
framebuffers/pipewire/pw_framebuffer.cpp
View file @
3a1a5ad7
...
...
@@ -74,6 +74,7 @@ const QDBusArgument &operator >> (const QDBusArgument &arg, PWFrameBuffer::Strea
return
arg
;
}
#if HAVE_DMA_BUF
const
char
*
formatGLError
(
GLenum
err
)
{
switch
(
err
)
{
...
...
@@ -95,6 +96,7 @@ const char * formatGLError(GLenum err)
return
(
QLatin1String
(
"0x"
)
+
QString
::
number
(
err
,
16
)).
toLocal8Bit
().
constData
();
}
}
#endif
/* HAVE_DMA_BUF */
/**
* @brief The PWFrameBuffer::Private class - private counterpart of PWFramebuffer class. This is the entity where
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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