media-gfx/zw3d: fix openGL scale when using HiDPI

- Set QT_AUTO_SCREEN_SCALE_FACTOR=0 to fix openGL scale

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui 2025-02-02 04:15:24 +08:00
parent 1a6a9e4925
commit 30807e139f
No known key found for this signature in database
GPG Key ID: AD4E34A8385E3E52
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ cat >> insert.txt <<- EOF || die
unset WAYLAND_DISPLAY
export XDG_SESSION_TYPE=x11
export QT_QPA_PLATFORM=xcb
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_STYLE_OVERRIDE=fusion
export IBUS_USE_PORTAL=1
EOF

View File

@ -100,7 +100,7 @@ cat >> insert.txt <<- EOF || die
unset WAYLAND_DISPLAY
export XDG_SESSION_TYPE=x11
export QT_QPA_PLATFORM=xcb
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_STYLE_OVERRIDE=fusion
export IBUS_USE_PORTAL=1
EOF