mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 05:46:56 +01:00
Build the launcher on Qt below 6.6 and cap the reference-clock log (#653)
* Fix launcher build on Qt versions below 6.6 QVulkanInstance::NoPortabilityDrivers is only available since Qt 6.6, so guard its use the same way as the Apple-specific case. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Stop logging every reference-clock copy CopyData of the clock counter runs on every GPU wait, so the handler wrote one line per wait: a single SpongeBob boot that never reaches a frame logs 1312 of them, and the count grows with run time. Keep the first 64 lines for diagnostics; the copy itself is unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Remove reference-clock logging comment --------- Co-authored-by: YuhiAida <21134775+YuhiAida@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: nmzik <Nmzik@mail.ru>
This commit is contained in:
@@ -213,7 +213,7 @@ void ConfigurationEditDialog::Init(const Configuration& info) {
|
||||
#endif
|
||||
QVulkanInstance instance;
|
||||
instance.setApiVersion(QVersionNumber(1, 3, 0));
|
||||
#if !defined(__APPLE__)
|
||||
#if !defined(__APPLE__) && QT_VERSION >= QT_VERSION_CHECK(6, 6, 0)
|
||||
instance.setFlags(QVulkanInstance::NoPortabilityDrivers);
|
||||
#endif
|
||||
if (instance.create()) {
|
||||
|
||||
Reference in New Issue
Block a user