1
0
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:
Ömer Fadıl Usta 2021-06-03 09:15:48 +00:00
parent 8e667abe69
commit 3a1a5ad7a2

View File

@ -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