fixed gcc compile

This commit is contained in:
itsmattkc
2019-03-20 11:26:44 +11:00
parent 7d337e6de2
commit f9591e4f1e
6 changed files with 29 additions and 3 deletions
+4
View File
@@ -1013,6 +1013,10 @@ GLuint olive::rendering::OCIOBlit(QOpenGLShaderProgram *pipeline,
const FramebufferObject& fbo,
GLuint texture)
{
if (pipeline == nullptr) {
return 0;
}
QOpenGLContext* ctx = QOpenGLContext::currentContext();
QOpenGLExtraFunctions* xf = ctx->extraFunctions();