mirror of
https://github.com/nicbarker/clay.git
synced 2025-05-07 02:48:04 +00:00
Compare commits
3 Commits
1b419ecbbd
...
05cd3b7a46
Author | SHA1 | Date | |
---|---|---|---|
|
05cd3b7a46 | ||
|
9e7595b873 | ||
|
32d1a31dfe |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,5 @@
|
|||||||
cmake-build-debug/
|
cmake-build-debug/
|
||||||
cmake-build-release/
|
cmake-build-release/
|
||||||
build/
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.idea/
|
.idea/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
4
clay.h
4
clay.h
@ -1390,7 +1390,7 @@ struct Clay_Context {
|
|||||||
bool externalScrollHandlingEnabled;
|
bool externalScrollHandlingEnabled;
|
||||||
uint32_t debugSelectedElementId;
|
uint32_t debugSelectedElementId;
|
||||||
uint32_t generation;
|
uint32_t generation;
|
||||||
uint64_t arenaResetOffset;
|
uintptr_t arenaResetOffset;
|
||||||
Clay_Arena internalArena;
|
Clay_Arena internalArena;
|
||||||
// Layout Elements / Render Commands
|
// Layout Elements / Render Commands
|
||||||
Clay_LayoutElementArray layoutElements;
|
Clay_LayoutElementArray layoutElements;
|
||||||
@ -3615,7 +3615,7 @@ uint32_t Clay_MinMemorySize(void) {
|
|||||||
.maxMeasureTextCacheWordCount = Clay__defaultMaxMeasureTextWordCacheCount,
|
.maxMeasureTextCacheWordCount = Clay__defaultMaxMeasureTextWordCacheCount,
|
||||||
.internalArena = {
|
.internalArena = {
|
||||||
.capacity = SIZE_MAX,
|
.capacity = SIZE_MAX,
|
||||||
.memory = (char*)&fakeContext,
|
.memory = NULL,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Clay_Context* currentContext = Clay_GetCurrentContext();
|
Clay_Context* currentContext = Clay_GetCurrentContext();
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user