mirror of
https://github.com/mpv-player/mpv
synced 2025-01-28 02:23:06 +00: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:
parent
5beac919d0
commit
543ef1fd2e
@ -49,7 +49,6 @@ public:
|
||||
QOpenGLFramebufferObject *createFramebufferObject(const QSize &size)
|
||||
{
|
||||
QOpenGLFramebufferObjectFormat format;
|
||||
format.setSamples(4);
|
||||
return new QOpenGLFramebufferObject(size, format);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user