Commit c9afaefa authored by Jan's avatar Jan
Browse files

Removed obsolete setOption call from QSurfaceFormat

parent 249f5020
...@@ -590,7 +590,7 @@ QSurfaceFormat createFormat(QSurfaceFormat::OpenGLContextProfile _profile, int _ ...@@ -590,7 +590,7 @@ QSurfaceFormat createFormat(QSurfaceFormat::OpenGLContextProfile _profile, int _
if(_profile != QSurfaceFormat::CoreProfile) if(_profile != QSurfaceFormat::CoreProfile)
format.setOption(QSurfaceFormat::DeprecatedFunctions); format.setOption(QSurfaceFormat::DeprecatedFunctions);
if (_debugContext) if (_debugContext)
format.setOption(format.options() | QSurfaceFormat::DebugContext); format.setOption(QSurfaceFormat::DebugContext);
return format; return format;
} }
......
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