mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
QML-UI: fix black squares on some Android devices
It appears that one some Android devices there is an interaction between Qt and the GL implementation that results in black squares instead of icons being shown on the screen. Disabling the GammaAdjust avoids running the shader and fixes this problem. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b747e1bc72
commit
8e299727df
1 changed files with 9 additions and 5 deletions
|
@ -38,9 +38,13 @@ Item {
|
|||
sourceSize.width: root.width
|
||||
sourceSize.height: root.height
|
||||
}
|
||||
/*
|
||||
* this appears to cause us to show nothing but black squares instead
|
||||
* of icons on some Android devices
|
||||
GammaAdjust {
|
||||
anchors.fill: image
|
||||
source: image
|
||||
gamma: root.active ? 3.0 : 1
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue