[nostalgia/core] Get building with GLFW (it has a better Conan package than SDL)

This commit is contained in:
2021-04-28 22:27:33 -05:00
parent a17bc04ee7
commit 307684348e
10 changed files with 220 additions and 13 deletions
+2 -2
View File
@@ -25,11 +25,11 @@ ox::Error run(Context *ctx) noexcept;
// Sets event handler that sleeps for the time given in the return value. The
// sleep time is a minimum of ~16 milliseconds.
void setEventHandler(event_handler) noexcept;
void setEventHandler(Context *ctx, event_handler) noexcept;
// Returns the number of milliseconds that have passed since the start of the
// program.
[[nodiscard]]
uint64_t ticksMs() noexcept;
uint64_t ticksMs(Context *ctx) noexcept;
}