summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellogl2/logo.h
diff options
context:
space:
mode:
authorZhao Yuhang <[email protected]>2025-06-21 15:19:36 +0800
committerZhao Yuhang <[email protected]>2025-06-26 11:51:38 +0000
commit635f79f16300ed4b53a6665c81d0a37a2de9d78e (patch)
tree38f2186054dc8243e3176140534f9908497b0ce1 /examples/opengl/hellogl2/logo.h
parentaaaee137c25892bb5ee930c5fb6dac43d217fd71 (diff)
Windows QPA: fix PMv2 detect logicHEADdev
Before this patch, in QWindowsContext::setProcessDpiAwareness, there are some conditions that will make this function return early, in this case, QWindowsContextPrivate::m_v2DpiAware won't be updated to the correct value (it's initially set to false and we want it to be true in these cases), this is absolutely wrong. Luckily, this issue just makes QPA call enableNonClientDpiScaling() in unnecessary situations and that is harmless. But it's also better to fix this issue. Change-Id: I04d70d5d83b898a3cd2856d504bcd3f5519427b4 Reviewed-by: Oliver Wolff <[email protected]>
Diffstat (limited to 'examples/opengl/hellogl2/logo.h')
0 files changed, 0 insertions, 0 deletions