X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Feffects%2Fenvironmentmap.cpp;h=87e4898df21a48d07f9cf7346f3926d9b5523d87;hp=8770aba5f2e1fcf19a5de76599c0a5f77a7afb71;hb=b7ecc29c204faede028556d1942b2d61d5cda9ee;hpb=cf1676a405c2a81413fd565bc83331b7a8778eb5 diff --git a/source/effects/environmentmap.cpp b/source/effects/environmentmap.cpp index 8770aba5..87e4898d 100644 --- a/source/effects/environmentmap.cpp +++ b/source/effects/environmentmap.cpp @@ -186,7 +186,7 @@ void EnvironmentMap::set_debug_name(const string &name) #ifdef DEBUG env_tex.set_debug_name(name+"/environment.texcb"); depth_buf.set_debug_name(name+"/environment_depth.rbuf"); - static const char *face_names[] = { "X+", "X-", "Y+", "Y-", "Z+", "Z-" }; + static const char *const face_names[] = { "X+", "X-", "Y+", "Y-", "Z+", "Z-" }; for(unsigned i=0; i<6; ++i) { faces[i].fbo.set_debug_name(format("%s [FBO:%s]", name, face_names[i]));