0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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.
This commit is contained in:
wm4 2014-12-09 22:53:34 +01:00
parent 5beac919d0
commit 543ef1fd2e
2 changed files with 3 additions and 4 deletions

View File

@ -49,7 +49,6 @@ public:
QOpenGLFramebufferObject *createFramebufferObject(const QSize &size)
{
QOpenGLFramebufferObjectFormat format;
format.setSamples(4);
return new QOpenGLFramebufferObject(size, format);
}

View File

@ -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
{