added settings for bit depth

This commit is contained in:
itsmattkc
2019-03-20 16:05:10 +11:00
parent 9b2b7bc949
commit 9c920cfcc3
5 changed files with 122 additions and 2 deletions
+4
View File
@@ -24,6 +24,7 @@
#include "global/config.h"
#include "global/global.h"
#include "panels/timeline.h"
#include "rendering/bitdepths.h"
#include "ui/mediaiconservice.h"
#include "ui/mainwindow.h"
@@ -131,6 +132,9 @@ int main(int argc, char *argv[]) {
// multiply track height constants by the current DPI scale
olive::timeline::MultiplyTrackSizesByDPI();
// set up rendering bit depths
olive::rendering::InitializeBitDepths();
// connect main window's first paint to global's init finished function
QObject::connect(&w, SIGNAL(finished_first_paint()), olive::Global.get(), SLOT(finished_initialize()));