genesys: fix bigendian build

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
merge-requests/329/head
Luiz Angelo Daros de Luca 2020-02-02 21:19:15 -03:00
rodzic 20be9af3d7
commit e1934720c6
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -546,7 +546,7 @@ Image read_unshuffled_image_from_scanner(Genesys_Device* dev, const ScanSession&
}
#ifdef WORDS_BIGENDIAN
if (depth == 16) {
if (session.params.depth == 16) {
pipeline.push_node<ImagePipelineNodeSwap16BitEndian>();
}
#endif