diff options
-rw-r--r-- | DOCS/client_api_examples/qml/mpvrenderer.cpp | 1 | ||||
-rw-r--r-- | DOCS/client_api_examples/qml/mpvrenderer.h | 6 |
2 files changed, 3 insertions, 4 deletions
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 <QtQuick/QQuickFramebufferObject> -#include "libmpv/client.h" -#include "libmpv/opengl_cb.h" -#include "libmpv/qthelper.hpp" +#include <mpv/client.h> +#include <mpv/opengl_cb.h> +#include <mpv/qthelper.hpp> class MpvObject : public QQuickFramebufferObject { |