mirror of
https://invent.kde.org/network/krfb
synced 2024-07-01 07:24:29 +00:00
Add missing check for HAVE_DMA_BUF
This commit is contained in:
parent
8e667abe69
commit
3a1a5ad7a2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user