Skip to content

Commit

Permalink
texcube-sapp: use the new sapp_desc.html5_use_emsc_set_main_loop as t…
Browse files Browse the repository at this point in the history
…est case
  • Loading branch information
floooh committed Mar 2, 2024
1 parent e610665 commit 6f1adb1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sapp/texcube-sapp.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,8 @@ sapp_desc sokol_main(int argc, char* argv[]) {
.window_title = "Textured Cube (sokol-app)",
.icon.sokol_default = true,
.logger.func = slog_func,
// NOTE: this is just a test for using the 'set-main-loop' method
// in the sokol-app Emscripten backend
.html5_use_emsc_set_main_loop = true,
};
}

0 comments on commit 6f1adb1

Please sign in to comment.