Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
185b3036
Commit
185b3036
authored
Jun 18, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix startup crash on Wayland, thanks to login.kde@unrelenting.technology
BUG: 431505
parent
ee7a141b
Pipeline
#66457
passed with stage
in 8 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/glwidget.cpp
View file @
185b3036
...
...
@@ -122,7 +122,10 @@ GLWidget::GLWidget(int id, QObject *parent)
setPersistentSceneGraph
(
true
);
setClearBeforeRendering
(
false
);
setResizeMode
(
QQuickView
::
SizeRootObjectToView
);
m_offscreenSurface
.
setFormat
(
QOpenGLContext
::
globalShareContext
()
->
format
());
auto
fmt
=
QOpenGLContext
::
globalShareContext
()
->
format
();
fmt
.
setDepthBufferSize
(
format
().
depthBufferSize
());
fmt
.
setStencilBufferSize
(
format
().
stencilBufferSize
());
m_offscreenSurface
.
setFormat
(
fmt
);
m_offscreenSurface
.
create
();
m_refreshTimer
.
setSingleShot
(
true
);
...
...
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