c93f826661
Cleanup: various clang tidy fixes
2020-12-09 16:29:11 +01:00
958df2ed1b
Cleanup: Clang-Tidy, modernize-deprecated-headers
...
No functional changes.
2020-12-04 11:28:09 +01:00
2abfcebb0e
Cleanup: use C comments for descriptive text
...
Follow our code style guide by using C-comments for text descriptions.
2020-10-10 22:04:51 +11:00
dbf4f52fe0
Cleanup: ImBuf, Clang-Tidy else-after-return fixes
...
This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/imbuf` module.
No functional changes.
2020-08-07 13:38:06 +02:00
2d1cce8331
Cleanup: make format after SortedIncludes change
2020-03-19 09:33:58 +01:00
0b2d1badec
Cleanup: use post increment/decrement
...
When the result isn't used, prefer post increment/decrement
(already used nearly everywhere in Blender).
2019-09-08 00:23:25 +10:00
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