]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texturecube.h
Mark constant data as const
[libs/gl.git] / source / core / texturecube.h
index b68210b05c98230d892e7dcb780a2331095b3124..0f83e29e138953e8d2e5c6c7595adb8323ea3a33 100644 (file)
@@ -53,9 +53,9 @@ private:
        unsigned size;
        unsigned levels;
 
-       static TextureCubeFace face_order[6];
-       static Vector3 directions[6];
-       static unsigned orientations[12];
+       static const TextureCubeFace face_order[6];
+       static const Vector3 directions[6];
+       static const unsigned orientations[12];
 
 public:
        TextureCube();