mirror of https://github.com/mosra/magnum.git
Browse Source
ImageReference is supposed to be wrapper around existing data array of some type which is passed to Magnum functions. Thus modifying the original data array (which must be kept somewhere for proper deletion) is much better option than casting the pointer returned by data() to some proper type and then operating on that. Hopefully this won't break any existing code.pull/34/head
2 changed files with 6 additions and 9 deletions
Loading…
Reference in new issue