You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
656 B

  1. From e1934720c687ed8c6125c75ac658f55b4e1513ce Mon Sep 17 00:00:00 2001
  2. From: Luiz Angelo Daros de Luca <luizluca@gmail.com>
  3. Date: Sun, 2 Feb 2020 21:19:15 -0300
  4. Subject: [PATCH] genesys: fix bigendian build
  5. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
  6. ---
  7. backend/genesys/low.cpp | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. --- a/backend/genesys/low.cpp
  10. +++ b/backend/genesys/low.cpp
  11. @@ -539,7 +539,7 @@ Image read_unshuffled_image_from_scanner
  12. }
  13. #ifdef WORDS_BIGENDIAN
  14. - if (depth == 16) {
  15. + if (session.params.depth == 16) {
  16. dev->pipeline.push_node<ImagePipelineNodeSwap16BitEndian>();
  17. }
  18. #endif