X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture.cpp;h=e607792c9dc6f50103c2bd30d195343d107976b3;hp=bbda89b622f78b51038b8e8fd6123274d24a4e14;hb=b7ecc29c204faede028556d1942b2d61d5cda9ee;hpb=cf1676a405c2a81413fd565bc83331b7a8778eb5 diff --git a/source/core/texture.cpp b/source/core/texture.cpp index bbda89b6..e607792c 100644 --- a/source/core/texture.cpp +++ b/source/core/texture.cpp @@ -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,