mirror of https://github.com/mosra/magnum.git
Browse Source
I mean, yeah, it's all bad, but at least it works now. The upcoming internal representation will not be this silly CompressedPixelStorage anymore and then it will become a bit less bad. For a proper language-lawyer-safe implementation I'd explicitly call destructors and then in-place-new the other instance and such, but that's two more branches and thus twice as many chances to mess up.pull/651/merge
1 changed files with 7 additions and 3 deletions
Loading…
Reference in new issue