[platforms/hwcomposer] Set default old brightness to 50% (0x7f)

0xff or 100% is too much bright, this happens in first setup.

Reviewed-by: mgraesslin
remotes/origin/Plasma/5.8
Bhushan Shah 10 years ago
parent b7f49244e0
commit 88002fcb01
  1. 2
      plugins/platforms/hwcomposer/hwcomposer_backend.h

@ -99,7 +99,7 @@ private:
bool m_outputBlank = true;
int m_refreshRate = 60000;
int m_vsyncInterval = 16;
int m_oldScreenBrightness = 0xff;
int m_oldScreenBrightness = 0x7f;
bool m_hasVsync = false;
QMutex m_vsyncMutex;
QWaitCondition m_vsyncWaitCondition;

Loading…
Cancel
Save