Skip to content

Commit

Permalink
rdpq_font: improve manual syncs a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
rasky committed Nov 14, 2024
1 parent 42d6636 commit b804c93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rdpq/rdpq_font.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ rdpq_font_t* rdpq_font_load_buf(void *buf, int sz)
rdpq_set_tile(TILE3, sprite_get_format(spr), 0 , 48, &(rdpq_tileparms_t){ .palette = 3 });
rdpq_set_tile(TILE4, FMT_CI8, 0 , 48, NULL);
}
rdpq_sync_load(); // FIXME: revisit once we have the new auto-sync engine
break;
}
case FONT_TYPE_MONO_OUTLINE: {
Expand All @@ -205,7 +204,6 @@ rdpq_font_t* rdpq_font_load_buf(void *buf, int sz)
rdpq_set_tile(TILE2, sprite_get_format(spr), 0 , 48, &(rdpq_tileparms_t){ .palette = 1 });
rdpq_set_tile(TILE4, FMT_CI8, 0 , 48, NULL);
}
rdpq_sync_load(); // FIXME: revisit once we have the new auto-sync engine
break;
}
case FONT_TYPE_ALIASED_OUTLINE:
Expand All @@ -229,6 +227,7 @@ rdpq_font_t* rdpq_font_load_buf(void *buf, int sz)
break;
}

rdpq_sync_load(); // FIXME: revisit once we have the new auto-sync engine
fnt->atlases[i].up = rspq_block_end();
}

Expand Down

0 comments on commit b804c93

Please sign in to comment.