mirror of
https://github.com/nicbarker/clay.git
synced 2025-01-23 01:46:02 +00:00
C++ init order fix
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 13s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 11s
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 13s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 11s
This commit is contained in:
parent
209f30dd56
commit
b4452d080c
2
clay.h
2
clay.h
@ -3707,8 +3707,8 @@ Clay_Context* Clay_Initialize(Clay_Arena arena, Clay_Dimensions layoutDimensions
|
||||
.maxElementCount = oldContext ? oldContext->maxElementCount : Clay__defaultMaxElementCount,
|
||||
.maxMeasureTextCacheWordCount = oldContext ? oldContext->maxMeasureTextCacheWordCount : Clay__defaultMaxElementCount * 2,
|
||||
.errorHandler = errorHandler.errorHandlerFunction ? errorHandler : CLAY__INIT(Clay_ErrorHandler) { Clay__ErrorHandlerFunctionDefault },
|
||||
.internalArena = arena,
|
||||
.layoutDimensions = layoutDimensions,
|
||||
.internalArena = arena,
|
||||
};
|
||||
Clay_SetCurrentContext(context);
|
||||
Clay__InitializePersistentMemory(context);
|
||||
|
Loading…
Reference in New Issue
Block a user