housekeeping

This commit is contained in:
scawful
2024-05-24 21:34:36 -04:00
parent d91f10e6ea
commit 85bd48eafa
3 changed files with 5 additions and 8 deletions

View File

@@ -114,13 +114,6 @@ void GfxGroupEditor::DrawBlocksetViewer(bool sheet_only) {
for (int i = 0; i < 8; i++) {
int sheet_id = rom()->main_blockset_ids[selected_blockset_][i];
auto &sheet = *rom()->bitmap_manager()[sheet_id];
// if (sheet_id != last_sheet_id_) {
// last_sheet_id_ = sheet_id;
// auto palette_group = rom()->palette_group("ow_main");
// auto palette = palette_group[preview_palette_id_];
// sheet.ApplyPalette(palette);
// rom()->UpdateBitmap(&sheet);
// }
gui::BitmapCanvasPipeline(blockset_canvas_, sheet, 256, 0x10 * 0x04,
0x20, true, false, 22);
}