]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix a stupid error with PixelStore parameter mask
authorMikko Rasa <tdb@tdb.fi>
Tue, 26 Jun 2018 23:14:09 +0000 (02:14 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 26 Jun 2018 23:14:09 +0000 (02:14 +0300)
source/pixelstore.h

index 5229556709b5119bb5157bc70ff3646d80309df3..80032c3c3fdc7bee3eb62d76ff2cc16e43b6f563 100644 (file)
@@ -12,9 +12,9 @@ class PixelStore: public BindableWithDefault<PixelStore>
 private:
        enum ParameterMask
        {
-               SIZE,
-               ORIGIN,
-               ALIGNMENT
+               SIZE = 1,
+               ORIGIN = 2,
+               ALIGNMENT = 4
        };
 
        unsigned row_length;