[Qt] Do not assume viewport size == fbo size in Qt4
This commit is contained in:
@@ -1578,7 +1578,9 @@ mbgl::Size QMapboxGLPrivate::getFramebufferSize() const {
|
||||
|
||||
void QMapboxGLPrivate::updateAssumedState() {
|
||||
assumeFramebufferBinding(fbObject);
|
||||
#if QT_VERSION >= 0x050600
|
||||
assumeViewport(0, 0, getFramebufferSize());
|
||||
#endif
|
||||
}
|
||||
|
||||
void QMapboxGLPrivate::bind() {
|
||||
|
||||
Reference in New Issue
Block a user