Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenFlipper
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenFlipper-Free
OpenFlipper
Merge requests
!59
Fix windows debug context
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix windows debug context
fixWindowsDebugContext
into
unstable
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
Martin Schultz
requested to merge
fixWindowsDebugContext
into
unstable
7 years ago
Overview
0
Commits
3
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
unstable
unstable (base)
and
latest version
latest version
cc5745db
3 commits,
7 years ago
1 file
+
15
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Core/Core.cc
+
15
−
0
Options
@@ -98,6 +98,18 @@
//== IMPLEMENTATION ==========================================================
namespace
{
void
recreateContext
()
{
QOpenGLContext
*
ctx
=
QOpenGLContext
::
currentContext
();
QSurfaceFormat
format
=
QSurfaceFormat
::
defaultFormat
();
ctx
->
setFormat
(
format
);
ctx
->
create
();
QOffscreenSurface
*
surface
=
new
QOffscreenSurface
();
ctx
->
makeCurrent
(
surface
);
}
}
/** \brief Constuctor for the Core Widget ( This is stage 1 , call init for stage 2)
*
* Initialization is working the following way:\n
@@ -653,6 +665,7 @@ Core::init() {
coreWidget_
->
splitter_
->
restoreState
(
windowStates
.
value
(
"Core/LogSplitter"
).
toByteArray
());
coreWidget_
->
show
();
recreateContext
();
applyOptions
();
@@ -671,6 +684,8 @@ Core::init() {
}
else
{
coreWidget_
->
show
();
recreateContext
();
applyOptions
();
}
Loading