mirror of
https://github.com/luksamuk/engine-psx.git
synced 2025-04-28 21:38:02 +03:00
Embed sub_ot sorting into swap buffers routine
This commit is contained in:
parent
ec3fa956a2
commit
c70476f324
2 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,6 @@ main(void)
|
|||
|
||||
// Draw scene
|
||||
scene_draw();
|
||||
sort_sub_ot();
|
||||
font_flush();
|
||||
swap_buffers();
|
||||
}
|
||||
|
|
|
@ -97,6 +97,7 @@ swap_buffers()
|
|||
PutDrawEnv(&draw_buffer->draw_env);
|
||||
PutDispEnv(&disp_buffer->disp_env);
|
||||
/* DrawOTagEnv(&draw_buffer->ot[OT_LENGTH - 1], &draw_buffer->draw_env); */
|
||||
sort_sub_ot();
|
||||
DrawOTag(&draw_buffer->ot[OT_LENGTH - 1]);
|
||||
|
||||
SetDispMask(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue