X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexturecube.cpp;fp=source%2Ftexturecube.cpp;h=8d194c42028bb6a4c6eb56cf2e9c0cb9567eba71;hp=0613a39a8ebba335a56f42a9ec958c9a796ac45e;hb=73eec11d44a24bac121f1b0d85f20d58005f3545;hpb=78840e775c62c1b6e3f550bf8be1f0b828df91aa diff --git a/source/texturecube.cpp b/source/texturecube.cpp index 0613a39a..8d194c42 100644 --- a/source/texturecube.cpp +++ b/source/texturecube.cpp @@ -78,6 +78,7 @@ void TextureCube::allocate(unsigned level) { BindRestore _bind(this); glTexStorage2D(target, levels, ifmt, size, size); + apply_swizzle(); allocated |= (1<