Add color channel filter to editor texture previews
This commit is contained in:
@ -64,10 +64,6 @@ SafeNumeric<uint64_t> Memory::max_usage;
|
||||
|
||||
SafeNumeric<uint64_t> Memory::alloc_count;
|
||||
|
||||
inline bool is_power_of_2(size_t x) {
|
||||
return x && ((x & (x - 1U)) == 0U);
|
||||
}
|
||||
|
||||
void *Memory::alloc_aligned_static(size_t p_bytes, size_t p_alignment) {
|
||||
DEV_ASSERT(is_power_of_2(p_alignment));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user