mirror of
https://github.com/nicbarker/clay.git
synced 2026-08-01 12:49:17 +00:00
fix WASM_EXPORT typo of function Clay_GetLayoutDimensions
While clang didn't complain about this, the execution of the output .wasm file would break once on the browser.
This commit is contained in:
parent
583573f869
commit
3c21480429
1 changed files with 1 additions and 1 deletions
2
clay.h
2
clay.h
|
|
@ -4074,7 +4074,7 @@ void Clay_SetLayoutDimensions(Clay_Dimensions dimensions) {
|
|||
context->layoutDimensions = dimensions;
|
||||
}
|
||||
|
||||
CLAY_WASM_EXPORT("Clay_SetLayoutDimensions")
|
||||
CLAY_WASM_EXPORT("Clay_GetLayoutDimensions")
|
||||
Clay_Dimensions Clay_GetLayoutDimensions() {
|
||||
Clay_Context* context = Clay_GetCurrentContext();
|
||||
return context->layoutDimensions;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue