Skip to content

Commit 41e49d4

Browse files
committed
Disable Qt shader disk cache to fix graphic glitches on some Android devices
1 parent c178f4a commit 41e49d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ int main( int argc, char **argv )
101101
}
102102
#endif
103103

104+
QCoreApplication::setAttribute( Qt::AA_DisableShaderDiskCache );
105+
104106
initGraphics();
105107

106108
// Read settings, use a dummy app to get access to QSettings

0 commit comments

Comments
 (0)