mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 11:26:11 +00:00
- added default value for parameter meaningless for meshlabserver
This commit is contained in:
parent
c744160fbe
commit
dc20b496f8
@ -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();
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user