Commit 762872a0 authored by Eric Bruneton's avatar Eric Bruneton
Browse files

Workaround for AntTweakBar in Proland: use the compatibility profile instead of the core profile.

parent c8135687
......@@ -147,7 +147,9 @@ GlutWindow::GlutWindow(const Parameters &params) : Window(params)
//Init OpenGL context
glutInitContextVersion(params.version().x, params.version().y);
// AntTweakBar, used in Proland, does not work with the core profile.
// glutInitContextProfile(GLUT_CORE_PROFILE);
glutInitContextFlags(GLUT_FORWARD_COMPATIBLE | (params.debug() ? GLUT_DEBUG : 0));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment