14 lines
435 B
Diff
14 lines
435 B
Diff
diff --git a/backend/genesys/low.cpp b/backend/genesys/low.cpp
|
|
index 7937fcc..4020456 100644
|
|
--- a/backend/genesys/low.cpp
|
|
+++ b/backend/genesys/low.cpp
|
|
@@ -539,7 +539,7 @@ Image read_unshuffled_image_from_scanner(Genesys_Device* dev, const ScanSession&
|
|
}
|
|
|
|
#ifdef WORDS_BIGENDIAN
|
|
- if (depth == 16) {
|
|
+ if (session.params.depth == 16) {
|
|
dev->pipeline.push_node<ImagePipelineNodeSwap16BitEndian>();
|
|
}
|
|
#endif
|