Prepare C arg list

This commit is contained in:
2023-12-04 21:48:27 -05:00
parent 4f44f69b40
commit 7904da6875
4 changed files with 30 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ namespace JabyEngine {
}
}
void FontWriter :: write(State& state, const char* str, GPU::Color24 color, Wiggle* wiggle) {
void FontWriter :: write(State& state, const char* str, GPU::Color24 color, Wiggle* wiggle, va_list b) {
const auto* primitive_end = &this->prim_buffer.double_buffer[GPU::Display::current_id][this->prim_buffer.single_buffer_length];
const auto font_size = this->prim_buffer.double_buffer[0][0]->size;
const auto row_count = 256/font_size.width;