diff --git a/DOCS/client_api_examples/qml/mpvrenderer.cpp b/DOCS/client_api_examples/qml/mpvrenderer.cpp index af62fd2762..ab92a2388f 100644 --- a/DOCS/client_api_examples/qml/mpvrenderer.cpp +++ b/DOCS/client_api_examples/qml/mpvrenderer.cpp @@ -49,7 +49,6 @@ public: QOpenGLFramebufferObject *createFramebufferObject(const QSize &size) { QOpenGLFramebufferObjectFormat format; - format.setSamples(4); return new QOpenGLFramebufferObject(size, format); } diff --git a/DOCS/client_api_examples/qml/mpvrenderer.h b/DOCS/client_api_examples/qml/mpvrenderer.h index d0bedf720b..68e690ff55 100644 --- a/DOCS/client_api_examples/qml/mpvrenderer.h +++ b/DOCS/client_api_examples/qml/mpvrenderer.h @@ -5,9 +5,9 @@ #include -#include "libmpv/client.h" -#include "libmpv/opengl_cb.h" -#include "libmpv/qthelper.hpp" +#include +#include +#include class MpvObject : public QQuickFramebufferObject {