Update readme and fix some last straggling bits

This commit is contained in:
Nic Barker 2025-02-04 15:53:59 +13:00
parent 9c99ac7800
commit 5582d0c57b
3 changed files with 443 additions and 549 deletions

987
README.md

File diff suppressed because it is too large Load Diff

3
clay.h
View File

@ -302,9 +302,6 @@ typedef struct {
uint16_t lineHeight;
Clay_TextElementConfigWrapMode wrapMode;
bool hashStringContents;
#ifdef CLAY_EXTEND_CONFIG_TEXT
CLAY_EXTEND_CONFIG_TEXT
#endif
} Clay_TextElementConfig;
CLAY__WRAPPER_STRUCT(Clay_TextElementConfig);

View File

@ -109,6 +109,8 @@ static void Clay_SDL2_Render(SDL_Renderer *renderer, Clay_RenderCommandArray ren
};
SDL_RenderCopy(renderer, texture, NULL, &destination);
SDL_DestroyTexture(texture);
break;
}
case CLAY_RENDER_COMMAND_TYPE_BORDER: {