Compare commits
No commits in common. "ed43a0f2867e80491e3c13742687fe8af5e79ab5" and "0b9a37a9cd9ba560a5b9c9d0a4c81ffe6a289297" have entirely different histories.
ed43a0f286
...
0b9a37a9cd
@ -1 +1 @@
|
||||
Subproject commit 8b6fb23bac98ff4b67219f4c020369cc0b0dce7d
|
||||
Subproject commit 8ed372d9388b65dd4d3651f8850a7a1f08d984de
|
@ -1,7 +1,6 @@
|
||||
#include "img.h"
|
||||
#include "mem_arena.h"
|
||||
#include "mem_utils.h"
|
||||
#include "misc_utils.h"
|
||||
#include "obj.h"
|
||||
#include "render.h"
|
||||
#include "shaders.h"
|
||||
@ -22,7 +21,8 @@ enum {
|
||||
|
||||
int main(void) {
|
||||
Arena *arena = NULL;
|
||||
if (!wapp_mem_arena_init(&arena, GB(10), WAPP_MEM_ALLOC_RESERVE, false)) {
|
||||
if (!wapp_mem_arena_init(&arena, 10ul * 1024ul * 1024ul * 1024ul,
|
||||
WAPP_MEM_ALLOC_RESERVE, false)) {
|
||||
return TINY_EXIT_ARENA_INIT_FAILED;
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#define UTILS_H
|
||||
|
||||
#include "aliases.h"
|
||||
|
||||
#define swap(T, v0, v1) \
|
||||
do { \
|
||||
T tmp = v0; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user