[Qt] FBO handling should happen outside of QMapboxGL::render

This commit is contained in:
Bruno de Oliveira Abinader
2017-02-28 18:39:43 -08:00
parent 74d42a45e2
commit f28d75dccd
4 changed files with 4 additions and 36 deletions

View File

@@ -10,10 +10,6 @@
#include <QString>
#include <QStringList>
#if QT_VERSION >= 0x050000
#include <QOpenGLFramebufferObject>
#endif
class QMapboxGLPrivate;
// This header follows the Qt coding style: https://wiki.qt.io/Qt_Coding_Style
@@ -231,11 +227,7 @@ public:
void setFilter(const QString &layer, const QVariant &filter);
public slots:
#if QT_VERSION >= 0x050000
void render(QOpenGLFramebufferObject *fbo = NULL);
#else
void render();
#endif
void connectionEstablished();
signals: