blob: 68cd17d7778b1d763ee9048c6efab4da862aa7d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
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.
|