--- a/src/glrenderer.cpp Wed May 30 22:31:06 2018 +0300 +++ b/src/glrenderer.cpp Mon Jun 04 23:12:40 2018 +0300 @@ -247,6 +247,12 @@ void GLRenderer::initializeGL() { initializeOpenGLFunctions(); + + if (glGetError() != GL_NO_ERROR) + { + abort(); + } + setBackground(); glLineWidth (config::lineThickness()); glLineStipple (1, 0x6666);