kopia lustrzana https://gitlab.com/sane-project/backends
Merge branch 'fix_genesys_bigendian' into 'master'
genesys: fix bigendian build Closes #238 See merge request sane-project/backends!329merge-requests/340/head
commit
3508f3208f
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue