From 6eb1cf196dbe5a2c39b29b49b6901ae7d2b4e803 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 27 Jun 2018 02:14:09 +0300 Subject: [PATCH] Fix a stupid error with PixelStore parameter mask --- source/pixelstore.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/pixelstore.h b/source/pixelstore.h index 52295567..80032c3c 100644 --- a/source/pixelstore.h +++ b/source/pixelstore.h @@ -12,9 +12,9 @@ class PixelStore: public BindableWithDefault private: enum ParameterMask { - SIZE, - ORIGIN, - ALIGNMENT + SIZE = 1, + ORIGIN = 2, + ALIGNMENT = 4 }; unsigned row_length; -- 2.43.0