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
c2558c7a
Commit
c2558c7a
authored
Jan 26, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix green tint on first image extract.
Related to
#1315
#1302
parent
371e21de
Changes
1
Show whitespace changes
Inline
Side-by-side
src/monitor/glwidget.cpp
View file @
c2558c7a
...
...
@@ -584,6 +584,7 @@ void GLWidget::paintGL()
if
((
m_fbo
==
nullptr
)
||
m_fbo
->
size
()
!=
m_profileSize
)
{
delete
m_fbo
;
QOpenGLFramebufferObjectFormat
fmt
;
fmt
.
setSamples
(
1
);
m_fbo
=
new
QOpenGLFramebufferObject
(
m_profileSize
.
width
(),
m_profileSize
.
height
(),
fmt
);
// GL_TEXTURE_2D);
}
m_fbo
->
bind
();
...
...
Write
Preview
Supports
Markdown
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