diff options
| author | aura <nw@moneybot.cc> | 2026-03-10 05:18:33 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-03-10 05:18:33 +0100 |
| commit | 30151d75dddd651faa1b27148a052ced7d0f190a (patch) | |
| tree | 30b9374d59ecdd83296f7a2b7aa008340b95daf5 /src/editor/editor_infobox.cpp | |
| parent | 31b77ed2e0c037e5718b9ecd06d3941600cc8815 (diff) | |
2d batch rendering
Diffstat (limited to 'src/editor/editor_infobox.cpp')
| -rw-r--r-- | src/editor/editor_infobox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor/editor_infobox.cpp b/src/editor/editor_infobox.cpp index 931d9ea..9f9060d 100644 --- a/src/editor/editor_infobox.cpp +++ b/src/editor/editor_infobox.cpp @@ -92,7 +92,7 @@ static void gui_editor_infobox_draw_assets( GUI_EDITOR_INFOBOX* box, I32 panel_x gui_draw_frect( tx + 1, ty + 1, EDITOR_ASSETS_THUMB - 2, EDITOR_ASSETS_THUMB - 2, ui_clr.bg_alt ); gui_draw_str( tx + EDITOR_ASSETS_THUMB / 2, ty + 4, ALIGN_C, FNT_JPN12, ui_clr.txt, "m" ); } else if( p->tex ) { - gl_2d_textured_frect( _gui.gl2d_font, { (F32)(tx + 1), (F32)(ty + 1) }, { (F32)(EDITOR_ASSETS_THUMB - 2), (F32)(EDITOR_ASSETS_THUMB - 2) }, p->tex ); + gl_2d_textured_frect( _gui.batch, { (F32)(tx + 1), (F32)(ty + 1) }, { (F32)(EDITOR_ASSETS_THUMB - 2), (F32)(EDITOR_ASSETS_THUMB - 2) }, p->tex ); } else { gui_draw_frect( tx + 1, ty + 1, EDITOR_ASSETS_THUMB - 2, EDITOR_ASSETS_THUMB - 2, p->clr ); } |
