Merge pull request #766 from maxGimeno/LCC_Demo-MSAA_removal-GF

Removal of the MSAA in LCC

Conflicts:
	GraphicsView/include/CGAL/Qt/CreateOpenGLContext.h
	Linear_cell_complex/demo/Linear_cell_complex/Viewer.cpp
This commit is contained in:
Laurent Rineau 2016-02-11 15:13:18 +01:00
commit 8b22743b06
2 changed files with 1 additions and 14 deletions

View File

@ -34,19 +34,6 @@ inline QGLContext* createOpenGLContext()
result->create();
return result;
}
inline QGLContext* createOpenGLMSAAContext()
{
QOpenGLContext *context = new QOpenGLContext();
QSurfaceFormat format;
format.setVersion(2,1);
format.setProfile(QSurfaceFormat::CompatibilityProfile);
format.setSamples(16);
context->setFormat(format);
QGLContext *result = QGLContext::fromOpenGLContext(context);
result->create();
return result;
}
} // namespace Qt
} // namespace CGAL
#endif

View File

@ -28,7 +28,7 @@
#include <QDebug>
Viewer::Viewer(QWidget* parent)
: QGLViewer(CGAL::Qt::createOpenGLMSAAContext(),parent), wireframe(false),
: QGLViewer(CGAL::Qt::createOpenGLContext(),parent), wireframe(false),
flatShading(true), edges(true), vertices(true),
m_previous_scene_empty(true), are_buffers_initialized(false)
{