[Qt] FBO handling should happen outside of QMapboxGL::render
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user