diff --git a/effects/shaders/chromakey.frag b/effects/shaders/chromakey.frag index 88b9fdd0f..6ee8b07a2 100644 --- a/effects/shaders/chromakey.frag +++ b/effects/shaders/chromakey.frag @@ -42,7 +42,7 @@ float colorclose(float Cb_p,float Cr_p,float Cb_key,float Cr_key,float tola,floa if (temp < tolb) {return ((temp-tola)/(tolb-tola));} return (1.0); } - + void main(void) { float cb_key = rgb2cb(key_color); float cr_key = rgb2cr(key_color); diff --git a/main.cpp b/main.cpp index 2cf002480..18b1adb67 100644 --- a/main.cpp +++ b/main.cpp @@ -125,7 +125,10 @@ int main(int argc, char *argv[]) { QCoreApplication::setOrganizationName("olivevideoeditor.org"); QCoreApplication::setOrganizationDomain("olivevideoeditor.org"); QCoreApplication::setApplicationName("Olive"); + +#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)) QGuiApplication::setDesktopFileName("org.olivevideoeditor.Olive"); +#endif MainWindow w(nullptr); diff --git a/ui/viewerwidget.cpp b/ui/viewerwidget.cpp index fa95624cf..05d43e50e 100644 --- a/ui/viewerwidget.cpp +++ b/ui/viewerwidget.cpp @@ -545,8 +545,6 @@ void ViewerWidget::paintGL() { tex_lock->lock(); - makeCurrent(); - // clear to solid black glClearColor(0.0, 0.0, 0.0, 0.0); glClear(GL_COLOR_BUFFER_BIT);