Fix gui texture rendering; add input post callback; editor bugs

This commit is contained in:
2023-09-13 21:49:22 +00:00
parent 681fb27ae4
commit 513a9ac618
10 changed files with 89 additions and 94 deletions

View File

@@ -415,7 +415,6 @@ void full_2d_pass(struct window *window)
hudproj = HMM_Orthographic_RH_NO(0, window->width, 0, window->height, -1.f, 1.f);
sprite_draw_all();
sprite_flush();
call_draw();
//// DEBUG
@@ -436,6 +435,7 @@ void full_2d_pass(struct window *window)
call_gui();
debug_flush(&hudproj);
text_flush(&hudproj);
sprite_flush();
#ifndef NO_EDITOR
call_nk_gui();