fix: increased size of ui data arena size

This commit is contained in:
Sara 2025-09-20 14:02:17 +02:00
parent 9acea87ab8
commit dcb8f35d5e
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
#include <stdint.h>
#include <string.h>
constexpr size_t uiDataLength = UI_DATA_LENGTH;
constexpr size_t uiDataLength = UI_DATA_SIZE;
static size_t utilized = 9;
static char uiDataArena[uiDataLength];

View file

@ -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);