64b4b719eb
Cleanup: style, use braces for imbuf
2019-04-23 11:22:22 +10:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-17 06:21:24 +02:00
3316853323
Cleanup: conform headers to have license first
...
Also remove doxy comments for licenses and add missing GPL header.
2019-02-18 08:22:11 +11:00
b372766816
Cleanup: trailing newlines
2018-06-29 09:23:51 +02:00
b098609186
Fix various compiler warnings.
2015-10-10 17:35:30 +02:00
1174c7d662
fix for missing NULL pointer checks and incorrect array free
2013-03-17 10:15:06 +00:00
438b19e94a
Fix #33629 : DDS DXT5 with alpha not loaded correctly, Y flipping code was wrong.
2012-12-20 15:45:42 +00:00
2bb174cfa4
style cleanup: indentation
2012-11-09 09:33:28 +00:00
c8975c4375
style cleanup
2012-10-30 12:18:45 +00:00
15362e1c02
Fix for strict compiler setup
2012-10-25 13:12:37 +00:00
aab78de27c
Better fix for #32837 : DDS compressed textures now no longer need to be flipped
...
when saving, rather we flip the compressed texture during load. The code used
here comes from the chromium O3D project:
http://src.chromium.org/chrome/trunk/o3d/core/cross/bitmap_dds.cc
Also made it only load compressed for power-of-two resolution images, it doesn't
seem to work for other resolutions, just falls back to non-compressed then.
2012-10-25 12:54:16 +00:00