Remove last constructor and remove GLOBAL SUB with it
This commit is contained in:
@@ -10,7 +10,7 @@ namespace JabyEngine {
|
||||
const uint16_t sub_x = (16*((BitCount - 1) - n));
|
||||
const uint16_t sub_y = (n&1)*16;
|
||||
|
||||
GPU::internal::quick_fill_fast((value & (1 << n)) ? GPU::Color24::Blue() : GPU::Color24::Red(), {{static_cast<uint16_t>(x + sub_x), static_cast<uint16_t>(y + sub_y)}, {16, 16}});
|
||||
GPU::internal::quick_fill_fast((value & (1 << n)) ? GPU::Color24::Blue() : GPU::Color24::Red(), GPU::AreaU16::create(GPU::PositionU16::create((x + sub_x), (y + sub_y)), GPU::SizeU16::create(16, 16)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user