mirror of https://github.com/mosra/magnum.git
Browse Source
The conversion is done implicitly, thus this seemingly innocent code
would be allowed:
ImageReference2D reference = Image2D(...);
foo(reference.data()); // crash on access, data already deleted
pull/34/head
4 changed files with 58 additions and 16 deletions
Loading…
Reference in new issue