diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-07-22 23:15:58 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-07-23 08:21:41 +0200 |
commit | f8252679bb7aa1ffb8d06d64cccba6e91c6d327b (patch) | |
tree | 4e4f0d8485f2e39e049e32304c37e3d073fa23ee /.mailmap | |
parent | 7a161c97f8925b4b2273ac88e5bcfe03b2fd3905 (diff) | |
download | mana-f8252679bb7aa1ffb8d06d64cccba6e91c6d327b.tar.gz mana-f8252679bb7aa1ffb8d06d64cccba6e91c6d327b.tar.bz2 mana-f8252679bb7aa1ffb8d06d64cccba6e91c6d327b.tar.xz mana-f8252679bb7aa1ffb8d06d64cccba6e91c6d327b.zip |
Avoid copying surfaces unnecessarily for upload to texture
When uploading an SDL surface to an OpenGL texture, it was always making
a copy that had the desired size and pixel format. Now this copy is no
longer being made when the existing surface already has the target size
and pixel format.
In fact most images are already in 32-bit RGBA format after loading them.
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions