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 <stdint.h>
#include <string.h> #include <string.h>
constexpr size_t uiDataLength = UI_DATA_LENGTH; constexpr size_t uiDataLength = UI_DATA_SIZE;
static size_t utilized = 9; static size_t utilized = 9;
static char uiDataArena[uiDataLength]; static char uiDataArena[uiDataLength];

View file

@ -8,8 +8,8 @@
extern "C" { extern "C" {
#endif #endif
#ifndef UI_DATA_LENGTH #ifndef UI_DATA_SIZE
#define UI_DATA_LENGTH 1024 #define UI_DATA_SIZE 1024*1024
#endif #endif
extern Clay_String UiData_StoreString(char const *data, size_t amount); extern Clay_String UiData_StoreString(char const *data, size_t amount);