Remove last constructor and remove GLOBAL SUB with it

This commit is contained in:
2023-10-03 13:16:46 +02:00
parent af5855804f
commit baa9e8c5de
11 changed files with 86 additions and 89 deletions

View File

@@ -31,7 +31,7 @@ namespace JabyEngine {
}
constexpr GPU::PositionU16 get_texture_position() const {
return {SimpleTIM::get_texture_x(), SimpleTIM::get_texture_y()};
return GPU::PositionU16::create(SimpleTIM::get_texture_x(), SimpleTIM::get_texture_y());
}
constexpr uint16_t get_clut_x() const {
@@ -43,7 +43,7 @@ namespace JabyEngine {
}
constexpr GPU::PositionU16 get_clut_position() const {
return {SimpleTIM::get_clut_x(), SimpleTIM::get_clut_y()};
return GPU::PositionU16::create(SimpleTIM::get_clut_x(), SimpleTIM::get_clut_y());
}
};