diff options
Diffstat (limited to 'user/qt5-qtdeclarative/broken-bgra-be.patch')
-rw-r--r-- | user/qt5-qtdeclarative/broken-bgra-be.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/user/qt5-qtdeclarative/broken-bgra-be.patch b/user/qt5-qtdeclarative/broken-bgra-be.patch new file mode 100644 index 000000000..68cd17d77 --- /dev/null +++ b/user/qt5-qtdeclarative/broken-bgra-be.patch @@ -0,0 +1,11 @@ +--- qtdeclarative-opensource-src-5.9.3/src/quick/scenegraph/util/qsgatlastexture.cpp.old 2017-11-17 12:15:09.000000000 -0600 ++++ qtdeclarative-opensource-src-5.9.3/src/quick/scenegraph/util/qsgatlastexture.cpp 2018-07-02 21:00:34.620000000 -0500 +@@ -147,6 +147,8 @@ + && (deviceName->compare(QLatin1String("samsung SM-T211"), Qt::CaseInsensitive) == 0 + || deviceName->compare(QLatin1String("samsung SM-T210"), Qt::CaseInsensitive) == 0 + || deviceName->compare(QLatin1String("samsung SM-T215"), Qt::CaseInsensitive) == 0); ++#elif Q_BYTE_ORDER == Q_BIG_ENDIAN ++ static bool wrongfullyReportsBgra8888Support = true; + #else + static bool wrongfullyReportsBgra8888Support = false; + // The Raspberry Pi (both 1 and 2) GPU refuses framebuffers with BGRA color attachments. |