Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
0f2cc1eb
Commit
0f2cc1eb
authored
Apr 13, 2018
by
schultz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed windows DebugContext workaround
parent
44ac98c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
widgets/glWidget/QtBaseViewer_qt.cc
widgets/glWidget/QtBaseViewer_qt.cc
+0
-11
No files found.
widgets/glWidget/QtBaseViewer_qt.cc
View file @
0f2cc1eb
...
...
@@ -100,17 +100,6 @@ void glViewer::startGLDebugLogger()
if
(
OpenFlipper
::
Options
::
debug
())
{
delete
glDebugLogger_
;
//workaround for windows, because the DebugContext flag is discarded by QMainWindow show in core.cc
#ifdef WIN32
QOpenGLContext
*
ctx
=
QOpenGLContext
::
currentContext
();
QSurfaceFormat
format
=
QSurfaceFormat
::
defaultFormat
();
ctx
->
setFormat
(
format
);
ctx
->
create
();
QOffscreenSurface
*
surface
=
new
QOffscreenSurface
();
surface
->
create
();
ctx
->
makeCurrent
(
surface
);
#endif
///////////////////////////////////////////////////////////////////////////////////////////////////
glDebugLogger_
=
new
QOpenGLDebugLogger
(
this
);
if
(
glDebugLogger_
->
initialize
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment