fix: increased size of ui data arena size
This commit is contained in:
parent
9acea87ab8
commit
dcb8f35d5e
|
|
@ -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];
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue