OSDN Git Service

[Qt][DRAW] .
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sat, 8 Oct 2022 13:19:23 +0000 (22:19 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sat, 8 Oct 2022 13:19:23 +0000 (22:19 +0900)
source/src/qt/gui/draw_thread.cpp

index 516e9df..df87f6a 100644 (file)
@@ -52,6 +52,7 @@ DrawThreadClass::DrawThreadClass(OSD_BASE *o, std::shared_ptr<CSP_Logger> logger
                //printf("OSD/Context sharing succeeded.ADDR=%08x GLES=%s\n", glContext, (glContext->isOpenGLES()) ? "YES" : "NO");
        }
        do_change_refresh_rate(screen->refreshRate());
+
        connect(screen, SIGNAL(refreshRateChanged(qreal)), this, SLOT(do_change_refresh_rate(qreal)));
        connect(this, SIGNAL(sig_update_screen(void *, bool)), glv, SLOT(update_screen(void *, bool)), Qt::QueuedConnection);