- added default value for parameter meaningless for meshlabserver

This commit is contained in:
Guido Ranzuglia 2016-11-10 10:12:42 +01:00
parent c744160fbe
commit dc20b496f8
2 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@ class MLSceneGLSharedDataContext : public QGLWidget
public:
//parent is set to NULL in order to avoid QT bug on MAC (business as usual...).
//The QGLWidget are destroyed by hand in the MainWindow destructor...
MLSceneGLSharedDataContext(MeshDocument& md, vcg::QtThreadSafeMemoryInfo& gpumeminfo, bool highprecision, size_t perbatchtriangles, size_t minfacespersmoothrendering);
MLSceneGLSharedDataContext(MeshDocument& md, vcg::QtThreadSafeMemoryInfo& gpumeminfo, bool highprecision, size_t perbatchtriangles, size_t minfacespersmoothrendering = 0);
~MLSceneGLSharedDataContext();

View File

@ -653,7 +653,7 @@ int main(int argc, char *argv[])
MeshDocument meshDocument;
MLSceneGLSharedDataContext shared(meshDocument, gpumeminfo, MeshLabScalarTest<MESHLAB_SCALAR>::doublePrecision(), 100000, 50000);
MLSceneGLSharedDataContext shared(meshDocument, gpumeminfo, MeshLabScalarTest<MESHLAB_SCALAR>::doublePrecision(), 100000);
shared.makeCurrent();
GLenum err = glewInit();
if (err != GLEW_NO_ERROR)