]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture.cpp
Mark constant data as const
[libs/gl.git] / source / core / texture.cpp
index bbda89b622f78b51038b8e8fd6123274d24a4e14..e607792c9dc6f50103c2bd30d195343d107976b3 100644 (file)
@@ -13,7 +13,7 @@ using namespace std;
 namespace Msp {
 namespace GL {
 
-int Texture::swizzle_orders[] =
+const int Texture::swizzle_orders[] =
 {
        GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA,
        GL_RED, GL_RED, GL_RED, GL_ONE,