X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexturecube.cpp;h=8d194c42028bb6a4c6eb56cf2e9c0cb9567eba71;hb=73eec11d44a24bac121f1b0d85f20d58005f3545;hp=0613a39a8ebba335a56f42a9ec958c9a796ac45e;hpb=fb5ca4dbba257d3eb7fa15800d9663b774e41e7e;p=libs%2Fgl.git 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<