summaryrefslogtreecommitdiff
blob: bac06593b9e62aa327667c090f4252260f61fe8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Correct overlooked bigendian case.  This has been fixed upstream in a different
way since the 1.0.30 release.

--- a/backend/genesys/low.cpp
+++ b/backend/genesys/low.cpp
@@ -539,7 +539,7 @@
     }
 
 #ifdef WORDS_BIGENDIAN
-    if (depth == 16) {
+    if (session.params.depth == 16) {
         dev->pipeline.push_node<ImagePipelineNodeSwap16BitEndian>();
     }
 #endif