From: Mikko Rasa Date: Tue, 26 Jun 2018 23:14:09 +0000 (+0300) Subject: Fix a stupid error with PixelStore parameter mask X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=6eb1cf196dbe5a2c39b29b49b6901ae7d2b4e803;ds=sidebyside Fix a stupid error with PixelStore parameter mask --- 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;