summaryrefslogtreecommitdiff
path: root/user/sane/BTS-304.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/sane/BTS-304.patch')
-rw-r--r--user/sane/BTS-304.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/user/sane/BTS-304.patch b/user/sane/BTS-304.patch
index 64b7dca02..6d36589e9 100644
--- a/user/sane/BTS-304.patch
+++ b/user/sane/BTS-304.patch
@@ -2,7 +2,7 @@ diff --git a/backend/genesys/image_pixel.cpp b/backend/genesys/image_pixel.cpp
index 1b83e127d..1ebba7fe0 100644
--- a/backend/genesys/image_pixel.cpp
+++ b/backend/genesys/image_pixel.cpp
-@@ -46,6 +46,7 @@
+@@ -23,6 +23,7 @@
#include "image.h"
#include <array>
@@ -10,7 +10,7 @@ index 1b83e127d..1ebba7fe0 100644
namespace genesys {
-@@ -207,7 +208,7 @@ void set_pixel_to_row(std::uint8_t* data, std::size_t x, Pixel pixel, PixelForma
+@@ -184,7 +185,7 @@ void set_pixel_to_row(std::uint8_t* data, std::size_t x, Pixel pixel, PixelForma
float val = (pixel.r >> 8) * 0.3f;
val += (pixel.g >> 8) * 0.59f;
val += (pixel.b >> 8) * 0.11f;
@@ -19,7 +19,7 @@ index 1b83e127d..1ebba7fe0 100644
return;
}
case PixelFormat::I16: {
-@@ -215,7 +216,7 @@ void set_pixel_to_row(std::uint8_t* data, std::size_t x, Pixel pixel, PixelForma
+@@ -192,7 +193,7 @@ void set_pixel_to_row(std::uint8_t* data, std::size_t x, Pixel pixel, PixelForma
float val = pixel.r * 0.3f;
val += pixel.g * 0.59f;
val += pixel.b * 0.11f;