Commit 87bff7eb authored by Jan Möbius's avatar Jan Möbius

Merge branch 'compatProfileDefault' into 'master'

Compat profile default

See merge request !83
parents 287af45b b752b21a
......@@ -405,7 +405,7 @@ bool coreProfile( ) {
return coreProfile_;
return OpenFlipperSettings().value("Core/OpenGL/CoreProfile",true).toBool();
return OpenFlipperSettings().value("Core/OpenGL/CoreProfile", false).toBool();
/// get opengl version setting
......@@ -415,8 +415,8 @@ QPair<int,int> glVersion(){
// unfortunately QVariant cant store QPair directly, we could try std::pair but its good for now
int major = OpenFlipperSettings().value("Core/OpenGL/VersionMajor", 4).value<int>();
int minor = OpenFlipperSettings().value("Core/OpenGL/VersionMinor", 6).value<int>();
int major = OpenFlipperSettings().value("Core/OpenGL/VersionMajor", 1).value<int>();
int minor = OpenFlipperSettings().value("Core/OpenGL/VersionMinor", 0).value<int>();
return QPair<int, int>(major,minor);
Markdown is supported
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