From 543ef1fd2e65ae33a0f619acd29724e6d65de41c Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 9 Dec 2014 22:53:34 +0100 Subject: DOCS/client_api_examples: remove nonsense I thought setSamples() was some funky abstraction to set the number of components, but it's actually something else. Also fix the include paths. --- DOCS/client_api_examples/qml/mpvrenderer.cpp | 1 - DOCS/client_api_examples/qml/mpvrenderer.h | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'DOCS') 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 { -- cgit v1.2.3