OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f917337
)
use cached read rotate method for both little and big endian
author
Ivailo Monev
<xakepa10@laimg.moc>
Thu, 30 May 2019 16:57:50 +0000
(16:57 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Thu, 30 May 2019 16:57:50 +0000
(16:57 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/painting/qmemrotate_p.h
patch
|
blob
|
history
diff --git
a/src/gui/painting/qmemrotate_p.h
b/src/gui/painting/qmemrotate_p.h
index
e9ae3dd
..
0ce5fd5
100644
(file)
--- a/
src/gui/painting/qmemrotate_p.h
+++ b/
src/gui/painting/qmemrotate_p.h
@@
-61,12
+61,8
@@
QT_BEGIN_NAMESPACE
#define QT_ROTATION_CACHEDWRITE 2
#ifndef QT_ROTATION_ALGORITHM
-#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN
-#define QT_ROTATION_ALGORITHM QT_ROTATION_CACHEDWRITE
-#else
#define QT_ROTATION_ALGORITHM QT_ROTATION_CACHEDREAD
#endif
-#endif
#define QT_DECL_MEMROTATE(srctype, desttype) \
void qt_memrotate90(const srctype*, int, int, int, desttype*, int); \