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'
This commit is contained in:
Aleix Pol Gonzalez 2023-02-23 21:52:01 +00:00 committed by Vlad Zahorodnii
parent 5f0ea95bfa
commit a60c3130e3

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;