Remove makeCurrent() call that sometimes causes blank previewers.
See: <https://github.com/olive-editor/olive/issues/892>
This commit is contained in:
@@ -545,8 +545,6 @@ void ViewerWidget::paintGL() {
|
|||||||
|
|
||||||
tex_lock->lock();
|
tex_lock->lock();
|
||||||
|
|
||||||
makeCurrent();
|
|
||||||
|
|
||||||
// clear to solid black
|
// clear to solid black
|
||||||
glClearColor(0.0, 0.0, 0.0, 0.0);
|
glClearColor(0.0, 0.0, 0.0, 0.0);
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
|
|||||||
Reference in New Issue
Block a user