Commit Graph

10 Commits

Author SHA1 Message Date
Kae
6d76a11e25 experiment: unclamped lighting 2024-03-20 01:53:34 +11:00
Kae
442347d82e fix minor Image memleak 2024-02-20 10:00:35 +11:00
Kae
aa987a2177
Merge branch 'main' into small-fixes 2024-02-20 09:49:42 +11:00
Kai Blaschke
42fc1d6714
Fixed a memory leak in Image::readPngMetadata()
The memory allocated by png_create_read_struct() was not freed before exiting the function, wasting lots of memory over time.
2024-02-19 20:47:58 +01:00
Kai Blaschke
431a9c00a5
Fixed a huge amount of Clang warnings
On Linux and macOS, using Clang to compile OpenStarbound produces about 400 MB worth of warnings during the build, making the compiler output unreadable and slowing the build down considerably.

99% of the warnings were unqualified uses of std::move and std::forward, which are now all properly qualified.

Fixed a few other minor warnings about non-virtual destructors and some uses of std::move preventing copy elision on temporary objects.

Most remaining warnings are now unused parameters.
2024-02-19 16:55:19 +01:00
Kae
9bef78a737 make Image move assignment zero other variables 2023-11-24 20:39:41 +11:00
Kae
81198f091c fix Image not resetting properly after being moved from 2023-11-24 20:34:41 +11:00
Kae
b4b2219aed Log file path in libpng errors & warnings properly 2023-08-01 20:23:48 +10:00
Kae
332983c97b The Formatting String Catastrophe 2023-06-27 20:23:44 +10:00
Kae
6352e8e319 everything everywhere
all at once
2023-06-20 14:33:09 +10:00