summaryrefslogtreecommitdiffstats
path: root/DOCS/client_api_examples/qml/mpvrenderer.cpp
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/qml/mpvrenderer.cpp
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/qml/mpvrenderer.cpp')
-rw-r--r--DOCS/client_api_examples/qml/mpvrenderer.cpp1
1 files changed, 0 insertions, 1 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);
}