summaryrefslogtreecommitdiffstats
path: root/DOCS/client_api_examples
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-09 22:53:34 +0100
committerwm4 <wm4@nowhere>2014-12-09 22:53:34 +0100
commit543ef1fd2e65ae33a0f619acd29724e6d65de41c (patch)
tree0774dfd8f189d4634d5ba9040d3c6592f19c90e3 /DOCS/client_api_examples
parent5beac919d0a2e9c7a2c103df13ee34cd2958269f (diff)
downloadmpv-543ef1fd2e65ae33a0f619acd29724e6d65de41c.tar.bz2
mpv-543ef1fd2e65ae33a0f619acd29724e6d65de41c.tar.xz
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.
Diffstat (limited to 'DOCS/client_api_examples')
-rw-r--r--DOCS/client_api_examples/qml/mpvrenderer.cpp1
-rw-r--r--DOCS/client_api_examples/qml/mpvrenderer.h6
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
{