]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture.h
Mark constant data as const
[libs/gl.git] / source / core / texture.h
index 80012f46846a7bd11746ed182fc2a56a21c8dfc5..0377c022c30137898da1257571eba01c3dbfd543 100644 (file)
@@ -64,7 +64,7 @@ protected:
        bool auto_gen_mipmap;
        std::string debug_name;
 
-       static int swizzle_orders[];
+       static const int swizzle_orders[];
        static Texture *scratch_binding;
 
        Texture(GLenum, ResourceManager * = 0);