summaryrefslogtreecommitdiff
path: root/src/modified_gamma_transfer_function.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-05-05 20:56:14 +0200
committerCarl Hetherington <cth@carlh.net>2022-05-05 21:09:40 +0200
commitcbbb9e63b7ec7a5c34f186ceafe5da6be8faa739 (patch)
tree79ccaa11973954138df02c2022b2ea25c0717b9d /src/modified_gamma_transfer_function.h
parentad7244de981a7dd0b9b4f8f3d62d4704f1968012 (diff)
Allow LUTs to be created with a particular range.
Diffstat (limited to 'src/modified_gamma_transfer_function.h')
-rw-r--r--src/modified_gamma_transfer_function.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modified_gamma_transfer_function.h b/src/modified_gamma_transfer_function.h
index d4e9cf97..0427dd61 100644
--- a/src/modified_gamma_transfer_function.h
+++ b/src/modified_gamma_transfer_function.h
@@ -77,7 +77,7 @@ public:
bool about_equal (std::shared_ptr<const TransferFunction>, double epsilon) const override;
protected:
- std::vector<double> make_lut (int bit_depth, bool inverse) const override;
+ std::vector<double> make_lut (double from, double to, int bit_depth, bool inverse) const override;
private:
double _power;