fixed superimpose crash

This commit is contained in:
itsmattkc
2019-03-24 23:15:10 +11:00
parent 6173b721e2
commit e2c5c87a0a
3 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ void process_effect(QOpenGLContext* ctx,
}
}
if (e->Flags() & Effect::SuperimposeFlag) {
GLuint superimpose_texture = e->process_superimpose(timecode);
GLuint superimpose_texture = e->process_superimpose(ctx, timecode);
if (superimpose_texture == 0) {
qWarning() << "Superimpose texture was nullptr, retrying...";