From dcb8f35d5ead2e947ebc5b2757e9643b23443dfd Mon Sep 17 00:00:00 2001 From: Sara Date: Sat, 20 Sep 2025 14:02:17 +0200 Subject: [PATCH] fix: increased size of ui data arena size --- src/ui_data.c | 2 +- src/ui_data.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui_data.c b/src/ui_data.c index 208114b..86ad021 100644 --- a/src/ui_data.c +++ b/src/ui_data.c @@ -2,7 +2,7 @@ #include #include -constexpr size_t uiDataLength = UI_DATA_LENGTH; +constexpr size_t uiDataLength = UI_DATA_SIZE; static size_t utilized = 9; static char uiDataArena[uiDataLength]; diff --git a/src/ui_data.h b/src/ui_data.h index 1a48228..ac62421 100644 --- a/src/ui_data.h +++ b/src/ui_data.h @@ -8,8 +8,8 @@ extern "C" { #endif -#ifndef UI_DATA_LENGTH -#define UI_DATA_LENGTH 1024 +#ifndef UI_DATA_SIZE +#define UI_DATA_SIZE 1024*1024 #endif extern Clay_String UiData_StoreString(char const *data, size_t amount);