Brought in a fix suggested by Amit but still didn't improve perf. I'll use that to see how Tracy works.
This commit is contained in:
parent
831e15ca18
commit
379ec5846f
2 changed files with 10 additions and 2 deletions
|
@ -62,8 +62,15 @@ namespace amt {
|
|||
constexpr RGBA() noexcept = default;
|
||||
constexpr RGBA(RGBA const&) noexcept = default;
|
||||
constexpr RGBA(RGBA &&) noexcept = default;
|
||||
constexpr RGBA& operator=(RGBA const& other) noexcept = default;
|
||||
constexpr RGBA& operator=(RGBA && other) noexcept = default;
|
||||
constexpr RGBA& operator=(RGBA const& other) noexcept {
|
||||
this->m_data.color = other.m_data.color;
|
||||
return *this;
|
||||
}
|
||||
constexpr RGBA& operator=(RGBA && other) noexcept {
|
||||
this->m_data.color = other.m_data.color;
|
||||
return *this;
|
||||
}
|
||||
|
||||
constexpr ~RGBA() noexcept = default;
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "amt/pixel.hpp"
|
||||
#include "constants.hpp"
|
||||
|
||||
#define AMT_LIGHT
|
||||
|
||||
using namespace fmt;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue