This commit is contained in:
Judah Caruso 2026-02-19 23:40:59 -07:00
parent 1075d4fff9
commit e9ebc4457f
2 changed files with 4 additions and 6 deletions

View file

@ -13,7 +13,7 @@ typedef closure(void*, arena__action, uword, uword, void*, const char*, sword) A
#define $(a1, a2, a3, a4, a5, a6) ^void* (arena__action a1, uword a2, uword a3, void* a4, const char* a5, sword a6)
static Arena
Static(uint8* data, uword count) {
Static(u8* data, uword count) {
memset(data, 0, count);
capture uword offset = 0;

View file

@ -10,7 +10,7 @@
#elifdef PLATFORM_LINUX
#define SOKOL_GLES3
#elifdef PLATFORM_WASM
#define SOKOL_GLCORE
#define SOKOL_GLES3
#else
#error "unsupported platform"
#endif
@ -145,8 +145,6 @@ event(const sapp_event* event) {
sapp_desc
sokol_main(int argc, char* argv[]) {
(void)argc;
(void)argv;
return (sapp_desc) {
.init_cb = init,
.frame_cb = frame,
@ -154,8 +152,8 @@ sokol_main(int argc, char* argv[]) {
.event_cb = event,
.logger.func = slog_func,
.width = 400,
.height = 300,
.width = 1280,
.height = 720,
.window_title = "hello, world",
};
}