backends/drm: Make sure attributes are always initialized

It only gets set on specific cases and assumes false as default anyway.
kwin/src/backends/drm/drm_gpu.cpp:691:12: runtime error: load of value 190, which is not a valid value for type 'bool'


(cherry picked from commit a60c3130e39e80289a5f62a6211f98a03043899e)
icc-effect-5.27.2
Aleix Pol Gonzalez 2023-02-23 21:52:01 +00:00 committed by Vlad Zahorodnii
parent b97e6f6c73
commit 764f6d26cd
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ private:
bool m_addFB2ModifiersSupported = false;
bool m_isNVidia;
bool m_isVirtualMachine;
bool m_asyncPageflipSupported;
bool m_asyncPageflipSupported = false;
bool m_isRemoved = false;
clockid_t m_presentationClock;
gbm_device *m_gbmDevice;