switched openGL to es
This commit is contained in:
@@ -101,8 +101,9 @@ MapView3D::MapView3D(QWidget *parent) : QOpenGLWidget(parent) {
|
||||
grabGesture(Qt::PanGesture);
|
||||
grabGesture(Qt::PinchGesture);
|
||||
|
||||
auto format = QSurfaceFormat();
|
||||
format.setVersion(3,3);
|
||||
auto format = QSurfaceFormat();
|
||||
format.setRenderableType(QSurfaceFormat::OpenGLES);
|
||||
format.setVersion(3, 0);
|
||||
//format.setSamples(2);
|
||||
auto ver = format.version();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user