Commit 3a1a5ad7 authored by Ömer Fadıl Usta's avatar Ömer Fadıl Usta 😊
Browse files

Add missing check for HAVE_DMA_BUF

parent 8e667abe
......@@ -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
......
Markdown is supported
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