Switch Qt 6.4+ back to OpenGL on macOS
The flickering bug seem to be fixed with the sRGB hint
This commit is contained in:
parent
23ce4f09df
commit
1ae65d2cba
2 changed files with 0 additions and 5 deletions
|
|
@ -273,9 +273,7 @@ void WindowHelper::Private::enforceStyle() {
|
|||
}
|
||||
|
||||
void WindowHelper::Private::initOpenGL() {
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 4, 0)
|
||||
auto forceOpenGL = std::make_unique<QOpenGLWidget>(_owner->window());
|
||||
#endif // Qt < 6.4.0
|
||||
}
|
||||
|
||||
void WindowHelper::Private::resolveWeakPointers() {
|
||||
|
|
|
|||
|
|
@ -29,9 +29,6 @@ public:
|
|||
if (const auto config = q->rhiConfig()) {
|
||||
return *config;
|
||||
}
|
||||
if (::Platform::IsMac10_14OrGreater()) {
|
||||
return { QPlatformBackingStoreRhiConfig::Metal };
|
||||
}
|
||||
// We can't specify the widget here as q_evaluateRhiConfig is called
|
||||
// in QWidgetWindow constructor, while windowHandle is set right after
|
||||
// the constructor is completed
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue