Remove last constructor and remove GLOBAL SUB with it
This commit is contained in:
@@ -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());
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user