t/gui: Add tracing support

This commit is contained in:
Moses Turner 2021-07-09 19:57:24 -05:00
parent 94d029ed15
commit e312422e61

View file

@ -9,7 +9,9 @@
#include "util/u_var.h"
#include "gui_sdl2.h"
#include "util/u_trace_marker.h"
U_TRACE_TARGET_SETUP(U_TRACE_WHICH_SERVICE)
int
main(int argc, char **argv)
@ -20,6 +22,8 @@ main(int argc, char **argv)
// Need to do this as early as possible.
u_var_force_on();
u_trace_marker_init();
ret = gui_sdl2_init(&p);
if (ret != 0) {
gui_sdl2_quit(&p);